apache / pekko

Build highly concurrent, distributed, and resilient message-driven applications using Java/Scala
https://pekko.apache.org/
Apache License 2.0
1.17k stars 140 forks source link

backport LineNumberSpec fix for Scala3 #1412

Closed pjfanning closed 1 month ago

pjfanning commented 1 month ago

Causing the nightly tests for 1.0.x to fail wen Scala 3 is used. See https://github.com/apache/pekko/actions/runs/10085818425/job/27887309952

This code is a direct copy of what we have in main branch. https://github.com/pjfanning/incubator-pekko/blob/39a91c5cebe5f8394216fa7aab6b7b400045b8ed/actor-tests/src/test/scala-3/org/apache/pekko/util/LineNumberSpec.scala

See #683

Partial cherry pick of 15f02d696f0e1d28cdf062cacf8adcd4f83041fe