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.
1 parent 27bd6b0 commit a6dd55dCopy full SHA for a6dd55d
tests/pos/vcif.scala
@@ -1,4 +1,4 @@
1
class Position(val foo: Int) extends AnyVal {
2
def orElse(that: Position) =
3
- if (this != null) this else that
+ if (foo != 0) this else that
4
}
0 commit comments