summaryrefslogtreecommitdiff
path: root/test/files/neg/bug846.check
blob: 9a17238c647a98499a3bb0ab776a2c1273e38000 (plain) (blame)
1
2
3
4
5
6
bug846.scala:9: error: type mismatch;
 found   : Null(null)
 required: B
    if (a != null) f(a) else null
                             ^
one error found