Self definition shadows member within template #8784
Labels
fixed in Scala 3
This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)
language spec
typer
Milestone
Currently self definition shadows member within template scope:
This behaviour is quite surprising. I'd expect to either see a double definition error or to have template member shadow self definition in that scope.
The text was updated successfully, but these errors were encountered: