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
Yes, it's not easy to summarize in a one-liner. (The summary is also misleading because it's kind of wrong.)
I'll try to transfer words from the linked ticket to an "overview" page in the docs. That may be useful later as a point of reference for Scala 3 import/export.
I also see that I proposed a lint option. Or maybe --explain-imports as a companion to --explain-types. After all, types are self-explanatory, but imports are magic.
Local classes should have precedence over classes imported with wildcards (as in Java)
Scala 2.10.x, 2.11.x, and 2.12.x are respecting this precedence and thus are behaving like Java.
Oppositely, Scala 2.13.x takes the class imported with a wildcard.
The text was updated successfully, but these errors were encountered: