Open noresttherein opened 3 years ago
By the way: is there, honestly, any point in reporting bugs for features of Scala 2 being dropped, now that Scala 3 is round the corner?
Even bug reports that are unlikely to be fixed are still valuable as documentation. Someone might hit the same thing in the future, find the ticket, and find it helpful, perhaps add a comment with a workaround or some further insight, etc. (And every so often, such a bug does get fixed after all!)
Although such bug reports might not always attract any comments, we genuinely appreciate them nonetheless.
Thanks for weighting in. I am aware about the Self = thisThing.Self
, but it doesn't hold in the real problem, going against the whole principle of Self being the concrete type
and Generalized
being its some super type serving as a class of abstraction for several subtypes.
Probably 'not a bug' but a long known undocumented feature too hard to fix, but I reduced and isolated it, so here it goes:
reproduction steps
using Scala 2.13.3,
problem
I would expect it to compile:
But I do not know the principles of the working of the typer or the exact compound type semantics.
By the way: is there, honestly, any point in reporting bugs for features of Scala 2 being dropped, now that Scala 3 is round the corner?