We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
scala> class C { val x = y; val y = 1 } ^ warning: Reference to uninitialized value y class C scala> trait T { val x = y; val y = 1 } trait T
The warning should also be emitted in the second example.