The GitHub Actions job "MySQL Integration Tests" on 
pekko-persistence-jdbc.git/scala39-compat has succeeded.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
2c7bb0697ad5abbca93212c4d50242b48b43f871 / θ™ŽιΈ£ <[email protected]>
chore: Fix Scala 3.8+ compilation warnings for forward compatibility

Motivation:
Scala 3.8+ introduces new deprecation warnings for patterns like implicit
parameter passing without `using`, wildcard type arguments with `_`,
trailing ` _` for eta-expansion, and `with` as a type operator. These
warnings need to be addressed for forward compatibility with Scala 3.9.x
while maintaining cross-build support for Scala 2.13.x and 3.3.x.

Modification:
- Move Scala 2-only compiler options (-Xlog-reflective-calls,
  -Ydelambdafy:method) out of shared scalacOptions into the Scala 2
  conditional block
- Add -Wconf suppressions for Scala 3.8+ warnings that cannot be fixed
  with cross-version compatible syntax (implicit using clause, wildcard
  type arguments, eta-expansion trailing underscore, with type operator,
  unreachable case except for null)

Result:
All 74 compiler warnings eliminated when compiling with Scala 3.8.4.
Scala 2.13.18 compilation remains unaffected. No behavioral changes.

Tests:
- sbt "++3.8.4" "core / compile" β€” 0 warnings (previously 74)
- sbt "++2.13.18" "core / compile" β€” success, no new warnings

References:
Refs apache/pekko#3065

Report URL: 
https://github.com/apache/pekko-persistence-jdbc/actions/runs/27506359815

With regards,
GitHub Actions via GitBox


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

Reply via email to