diff options
author | Martin Odersky <odersky@gmail.com> | 2012-04-13 19:15:13 -0700 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2012-04-13 19:15:13 -0700 |
commit | b2991c6676fdf024eb53bbaeeedf86f315523798 (patch) | |
tree | 2ae6686e16f301f7edc67a1fb2e69767856c8246 /test/disabled/neg/macro-deprecate-idents.check | |
parent | c26f2ae86bb8ecdfc07787c1ad66350c6cb8b36b (diff) | |
download | scala-b2991c6676fdf024eb53bbaeeedf86f315523798.tar.gz scala-b2991c6676fdf024eb53bbaeeedf86f315523798.tar.bz2 scala-b2991c6676fdf024eb53bbaeeedf86f315523798.zip |
one more macro test sdisabled that lipped through the net before.
Diffstat (limited to 'test/disabled/neg/macro-deprecate-idents.check')
-rw-r--r-- | test/disabled/neg/macro-deprecate-idents.check | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/test/disabled/neg/macro-deprecate-idents.check b/test/disabled/neg/macro-deprecate-idents.check new file mode 100644 index 0000000000..bd685fc7b9 --- /dev/null +++ b/test/disabled/neg/macro-deprecate-idents.check @@ -0,0 +1,46 @@ +macro-deprecate-idents.scala:2: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ val macro = ???
+ ^
+macro-deprecate-idents.scala:6: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ var macro = ???
+ ^
+macro-deprecate-idents.scala:10: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ type macro = Int
+ ^
+macro-deprecate-idents.scala:14: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ class macro
+ ^
+macro-deprecate-idents.scala:18: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ class macro
+ ^
+macro-deprecate-idents.scala:22: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ object macro
+ ^
+macro-deprecate-idents.scala:26: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ object macro
+ ^
+macro-deprecate-idents.scala:30: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ trait macro
+ ^
+macro-deprecate-idents.scala:34: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ trait macro
+ ^
+macro-deprecate-idents.scala:37: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+package macro {
+ ^
+macro-deprecate-idents.scala:38: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ package macro.bar {
+ ^
+macro-deprecate-idents.scala:43: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ package macro.foo {
+ ^
+macro-deprecate-idents.scala:48: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ val Some(macro) = Some(42)
+ ^
+macro-deprecate-idents.scala:50: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ case macro => println(macro)
+ ^
+macro-deprecate-idents.scala:55: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
+ def macro = 2
+ ^
+15 errors found
|