Scala interpreter is not ignoring package statement #4768
Labels
fixed in Scala 3
This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)
scripting
Running as script generates an error on package statement.
The interpreter should just ignore package statement (or use it internally if it is needed)
bar.scala (attachment)
The text was updated successfully, but these errors were encountered: