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
The misleading error was fixed in Scala 2 under scala/bug#5389
where ne is not due to wrapping object but member of Predef.
✗ scalac -d /tmp test/files/neg/t5389.scala
-- [E083] Type Error: test/files/neg/t5389.scala:2:7 ----------------------------------------------------------------------------
2 |import ne.scala
| ^^
| Object => Boolean is not a valid import prefix, since it is not an immutable path
Edit: forgot I'd created a ticket, pre-pandemic was a decade ago #7713
Compiler version
3.0.0 , 3.0.1-RC1
Minimized code
Output
Expectation
should compile successfully
The text was updated successfully, but these errors were encountered: