-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed as not planned
Description
Regression found in OpenCB for apache/incubator-pekko - build logs: https://github.com/VirtusLab/community-build3/actions/runs/5557868276/jobs/10152258051
Compiler version
3.3.2-RC nightly
Works in 3.3.1-RC4
Bisect points to 607e4d5
Minimized code
Error is present when referencing type with suffix $ defined in different compilation unit.
// repro_1.scala
object PekkoPduProtobufCodec$// repro_2.scala
@main def Test = {
val x = PekkoPduProtobufCodec$
}Output
Loading Scala 3 binary from /Users/wmazur/projects/dotty/bisect/.scala-build/project_460e25f1fd-574c0e3b00/classes/main/PekkoPduProtobufCodec$.class. It should have been loaded from `.tasty` file. This `.tasty` file is missing. Try cleaning the project to fix this issue.
-- [E119] Type Error: /Users/wmazur/projects/dotty/bisect/main.test.scala:2:10 -
2 | val x = PekkoPduProtobufCodec$
| ^^^^^^^^^^^^^^^^^^^^^^
| Java defined class PekkoPduProtobufCodec$ is not a value
2 errors foundExpectation
Should compile