diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-12-10 15:50:20 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-12-10 15:50:20 -0800 |
commit | 47562e7adbf8577789b3432f4bfbb36d786c6b32 (patch) | |
tree | 55b7f2bbd5e65ecb66eec9454e702525e3a3f727 /test/files/neg | |
parent | 9cdbe28c00b39c51ae9afe3066c8b44a6e5f6f96 (diff) | |
download | scala-47562e7adbf8577789b3432f4bfbb36d786c6b32.tar.gz scala-47562e7adbf8577789b3432f4bfbb36d786c6b32.tar.bz2 scala-47562e7adbf8577789b3432f4bfbb36d786c6b32.zip |
Revert "SI-6426, importable _."
This reverts commit d2316df920ffa4804fe51e8f8780240c46efa982.
We can't make `_` an illegal identifier -- it's legal in Java,
so we must be able to name these Java underscores.
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/t6426.check | 7 | ||||
-rw-r--r-- | test/files/neg/t6426.scala | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/test/files/neg/t6426.check b/test/files/neg/t6426.check deleted file mode 100644 index 149f74c4de..0000000000 --- a/test/files/neg/t6426.check +++ /dev/null @@ -1,7 +0,0 @@ -t6426.scala:4: error: wildcard invalid as backquoted identifier - println(`_`.Buffer(0)) - ^ -t6426.scala:5: error: ')' expected but '}' found. -} -^ -two errors found diff --git a/test/files/neg/t6426.scala b/test/files/neg/t6426.scala deleted file mode 100644 index a27d18eb58..0000000000 --- a/test/files/neg/t6426.scala +++ /dev/null @@ -1,5 +0,0 @@ -class A { - import collection.{mutable => _, _} - - println(`_`.Buffer(0)) -} |