summaryrefslogblamecommitdiff
path: root/test/files/neg/bug846.check
blob: b60b4c712543b3a55b754f250823323201d17488 (plain) (tree)
1
2
3
4
5
6





                                    
bug846.scala:9 error: type mismatch;
 found   : scala.Null(null)
 required: B
    if (a != null) f(a) else null
                             ^
one error found