The GitHub Actions job "Validate and test" on 
pekko-http.git/add-scala-3.8.4-cross-build has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
cb1ba55d5dd39204dd9751ea0dd25beaf651cb1e / 虎鸣 <[email protected]>
fix: filter out invalid scalac options for Scala 3.8.4

Motivation:
Scala 3.8.4 rejects -language: _ and -Yfuture-lazy-vals options.
Under -Werror, the ignored option warning causes compilation failure.

Modification:
Filter out Scala 2-specific options when compiling with Scala 3.8+.
-language:_ and -Yfuture-lazy-vals are Scala 2 only and not valid
in any Scala 3 version. Changed notOnScala39Plus/onlyOnScala3Below39
wrappers to onlyOnScala2 so these options are excluded from all
Scala 3 builds. Removed the now-unused helper functions.

Result:
pekko-http compiles cleanly on Scala 3.8.4 without invalid option warnings.

Tests:
Not run - CI will validate

References:
None - fix CI failure

Report URL: https://github.com/apache/pekko-http/actions/runs/28739683347

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to