summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-false-deprecation-warning.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-12-13 00:46:06 +0100
committerEugene Burmako <xeno.by@gmail.com>2012-12-25 01:48:25 +0100
commite5d34d70499504e085ddf957c1c818ffb63f4e8d (patch)
tree70fe476d0f643cc3803fac0d6c54549eb1029917 /test/files/neg/macro-false-deprecation-warning.check
parentd2a7aa4ba1c048e52affb0eb2b9167a18dc29c83 (diff)
downloadscala-e5d34d70499504e085ddf957c1c818ffb63f4e8d.tar.gz
scala-e5d34d70499504e085ddf957c1c818ffb63f4e8d.tar.bz2
scala-e5d34d70499504e085ddf957c1c818ffb63f4e8d.zip
the scanner is now less eager about deprecations
When healing braces it isn't very useful to report deprecation warnings, especially since this process is just simple context-free skimming, which can't know about what positions can accept what identifiers.
Diffstat (limited to 'test/files/neg/macro-false-deprecation-warning.check')
-rw-r--r--test/files/neg/macro-false-deprecation-warning.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/macro-false-deprecation-warning.check b/test/files/neg/macro-false-deprecation-warning.check
new file mode 100644
index 0000000000..7d56505ec4
--- /dev/null
+++ b/test/files/neg/macro-false-deprecation-warning.check
@@ -0,0 +1,4 @@
+Impls_Macros_1.scala:5: error: illegal start of simple expression
+}
+^
+one error found