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





                                                     
saferJavaConversions.scala:13: error: type mismatch;
 found   : String("a")
 required: Foo
    val v = map.get("a")  // now this is a type error
                    ^
one error found