diff options
author | Paul Phillips <paulp@improving.org> | 2012-11-03 10:07:48 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-01-30 03:50:40 -0800 |
commit | d2316df920ffa4804fe51e8f8780240c46efa982 (patch) | |
tree | ffa35fa116e9367dc38b3539602b885da3f15dc9 /test/files/neg/t6426.check | |
parent | 05882ebe10f2f72ff5273b198cec02d892b3fc45 (diff) | |
download | scala-d2316df920ffa4804fe51e8f8780240c46efa982.tar.gz scala-d2316df920ffa4804fe51e8f8780240c46efa982.tar.bz2 scala-d2316df920ffa4804fe51e8f8780240c46efa982.zip |
SI-6426, importable _.
[backport]
Prohibit `_` as an identifier, it can only bring badness.
Diffstat (limited to 'test/files/neg/t6426.check')
-rw-r--r-- | test/files/neg/t6426.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t6426.check b/test/files/neg/t6426.check new file mode 100644 index 0000000000..149f74c4de --- /dev/null +++ b/test/files/neg/t6426.check @@ -0,0 +1,7 @@ +t6426.scala:4: error: wildcard invalid as backquoted identifier + println(`_`.Buffer(0)) + ^ +t6426.scala:5: error: ')' expected but '}' found. +} +^ +two errors found |