Open som-snytt opened 10 months ago
reminds me of the business about whether to show Object
or AnyRef
. we would prefer the latter, but often we end up showing the former.
It makes it look like I accidentally summoned a type which is not the "default"
That's one way of looking at it, but it's also possible to think of it as the compiler helpfully showing you what the shortcut you used actually points to.
This issue is possibly different from "display shortest name given my imports".
Yeah, I'd say those are distinct. One's about imports, one's about aliases.
Reproduction steps
Scala version: 2.13.11
Problem
The types for
Set
andMap
aliased inPredef
instead ofscala.package
are noisy.It makes it look like I accidentally summoned a type which is not the "default".
This issue is possibly different from "display shortest name given my imports".