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.
class Foo { def foo: Unit = 3 }
Does not complain in Dotty.
But in scalac
Foo.scala:4: warning: a pure expression does nothing in statement position def foo: Unit = 3 ^ one warning found