Closed
Description
Compiler version
3.0.0-M3
Minimized code
I haven't managed to minimize the problem but is reproducible here:
https://github.com/akka/akka/tree/repro-scala3
sbt -Dakka.build.scalaVersion=3.0 akka-actor/compile
Output
[error] -- Error: /Users/andreatp/workspace/tmp/akka/akka-actor/src/main/scala/akka/event/ActorClassificationUnsubscriber.scala:61:6
[error] 61 | bus.unsubscribe(actor)
[error] | ^
[error] |cannot resolve reference to type (ActorClassificationUnsubscriber.this.bus :
[error] | akka.event.ManagedActorClassification
[error] |).Subscriber
[error] |the classfile defining the type might be missing from the classpath
[error] one error found
Expectation
Compiles as with scalac 2.12 - 2.13