He-Pin opened a new pull request, #732: URL: https://github.com/apache/pekko-grpc/pull/732
### Motivation Scala 3.9.0-RC1 removed the `-Yfuture-lazy-vals` compiler option (the behavior is now the default). Under `-Werror`, the "bad option" warning becomes a compilation error. ### Modification Conditionally include `-Yfuture-lazy-vals` only for Scala 3.x where minor version < 9, using `CrossVersion.partialVersion` check. ### Result pekko-grpc codegen module compiles cleanly with Scala 3.9.0-RC1. ### Tests - `sbt "++3.9.0-RC1!; codegen/compile"` passes ### References None - Scala 3.9 forward compatibility -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
