diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2014-09-24 00:20:40 +0200 |
---|---|---|
committer | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2014-09-24 00:20:40 +0200 |
commit | a908ded364a6f8b664c6b02552a909c143d21b19 (patch) | |
tree | 1ca43c96e57a7420b08029d873e477cc80e5fe67 /test/files/neg/t7756b.check | |
parent | 9ecfac84be3368acfd882d517c8138481b5568ec (diff) | |
parent | 0022dccfde2f2d1e383254d8b5677c2468b57701 (diff) | |
download | scala-a908ded364a6f8b664c6b02552a909c143d21b19.tar.gz scala-a908ded364a6f8b664c6b02552a909c143d21b19.tar.bz2 scala-a908ded364a6f8b664c6b02552a909c143d21b19.zip |
Merge pull request #3998 from retronym/backport/7756
[backport] SI-7756 Uncripple refchecks in case bodies
Diffstat (limited to 'test/files/neg/t7756b.check')
-rw-r--r-- | test/files/neg/t7756b.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t7756b.check b/test/files/neg/t7756b.check new file mode 100644 index 0000000000..5a88ae3c25 --- /dev/null +++ b/test/files/neg/t7756b.check @@ -0,0 +1,4 @@ +t7756b.scala:3: error: comparing values of types Int and String using `==' will always yield false + case _ => 0 == "" + ^ +one error found |