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 1aa4fab commit 6892e2fCopy full SHA for 6892e2f
test/files/run/t1434.check
@@ -1,3 +0,0 @@
1
-t1434.scala:7: warning: comparing values of types Null and Null using `!=' will always yield false
2
- case a: A[_] if(a.op != null) => "with op"
3
- ^
test/files/run/t1434.scala
@@ -1,5 +1,5 @@
object Test {
- class A[T] { val op = null }
+ class A[T] { val op: AnyRef = null }
class B extends A[Any]
4
class C extends B
5
0 commit comments