You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lucmac:sandbox luc$ cat A.java
public classA { }
lucmac:sandbox luc$ cat A.scala
classA
lucmac:sandbox luc$ scalac -Xresident
nsc>A.java
nsc>A.scala
A.scala:1:error: Companions'classA' and 'objectA' must be defined in same file:Found in /Users/luc/scala/scala/sandbox/A.scala and /Users/luc/scala/scala/sandbox/A.java
classA
^
The text was updated successfully, but these errors were encountered:
@lrytz said:
The problem shows up in the JUnit compiler tests used for the backend. To reproduce, add a file test/junit/scala/tools/nsc/backend/jvm/opt/ResidentFail.scala:
The text was updated successfully, but these errors were encountered: