diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-10-09 01:31:13 -0700 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-10-09 01:31:13 -0700 |
commit | 185ff4c929645a14fcfe77b6bcdea2bc28ece100 (patch) | |
tree | 9e3d37e8a950ac446b94d71d60b43d618a1fccb5 /test/files/neg/t7899.check | |
parent | acd77803f7da7c369f4ffdc70b5eeec4a23e35ae (diff) | |
parent | 8ed7099f7db6a1060a490a594c958ca9a8b41487 (diff) | |
download | scala-185ff4c929645a14fcfe77b6bcdea2bc28ece100.tar.gz scala-185ff4c929645a14fcfe77b6bcdea2bc28ece100.tar.bz2 scala-185ff4c929645a14fcfe77b6bcdea2bc28ece100.zip |
Merge pull request #3022 from retronym/ticket/7899
Don't infer by-name types during, e.g. eta-expansion
Diffstat (limited to 'test/files/neg/t7899.check')
-rw-r--r-- | test/files/neg/t7899.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t7899.check b/test/files/neg/t7899.check new file mode 100644 index 0000000000..febfe76b8a --- /dev/null +++ b/test/files/neg/t7899.check @@ -0,0 +1,6 @@ +t7899.scala:5: error: type mismatch; + found : Int => Int + required: (=> Int) => ? + foo(identity)() + ^ +one error found |