diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-06-27 07:42:12 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-06-27 07:42:12 -0700 |
commit | fcc8bb5c9cbe1b11d609cfacb8f636f7eaf21f51 (patch) | |
tree | ecefa764cce0ef66345ffec8b639f132513698a3 /test/files/neg/t5839.check | |
parent | 8cc3f6cc7a729f1aa079a63809048f864b57bd4c (diff) | |
parent | 6ad6e3b6e9547caeebd66061a52294914c667219 (diff) | |
download | scala-fcc8bb5c9cbe1b11d609cfacb8f636f7eaf21f51.tar.gz scala-fcc8bb5c9cbe1b11d609cfacb8f636f7eaf21f51.tar.bz2 scala-fcc8bb5c9cbe1b11d609cfacb8f636f7eaf21f51.zip |
Merge pull request #782 from hubertp/issue/5839
Test that closes SI-5839. Bug itself most probably fixed by #602
Diffstat (limited to 'test/files/neg/t5839.check')
-rw-r--r-- | test/files/neg/t5839.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t5839.check b/test/files/neg/t5839.check new file mode 100644 index 0000000000..d4b125bd1e --- /dev/null +++ b/test/files/neg/t5839.check @@ -0,0 +1,6 @@ +t5839.scala:5: error: type mismatch; + found : (x: String => String)Int <and> (x: Int)Int + required: Int => String + val x: String = goo(foo _) + ^ +one error found |