diff options
Diffstat (limited to 'test/files/neg/saferJavaConversions.check')
-rw-r--r-- | test/files/neg/saferJavaConversions.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/saferJavaConversions.check b/test/files/neg/saferJavaConversions.check new file mode 100644 index 0000000000..0e53d2c437 --- /dev/null +++ b/test/files/neg/saferJavaConversions.check @@ -0,0 +1,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 |