summaryrefslogtreecommitdiff
path: root/test/files/neg/compile-time-only-a.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-08-10 14:51:34 +0200
committerEugene Burmako <xeno.by@gmail.com>2013-08-14 22:04:43 +0200
commit1b5f73129fc2f678d00905e5d851536251f8821a (patch)
treeb512c8ac4576f91b0420d7f55d8da643dfcc60c3 /test/files/neg/compile-time-only-a.check
parent4c62f7db6f3913eedd92d85daf8f631149cc97b2 (diff)
downloadscala-1b5f73129fc2f678d00905e5d851536251f8821a.tar.gz
scala-1b5f73129fc2f678d00905e5d851536251f8821a.tar.bz2
scala-1b5f73129fc2f678d00905e5d851536251f8821a.zip
moves compileTimeOnly to scala-library
This is the notion that's come to be universally useful, so I suggest we promote it to be universally accessible. Note that the attached test incorrectly fails to report errors for definitions coming from the empty package and for annotations. These are bugs, and they are fixed in subsequent commits of this pull request.
Diffstat (limited to 'test/files/neg/compile-time-only-a.check')
-rw-r--r--test/files/neg/compile-time-only-a.check19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/files/neg/compile-time-only-a.check b/test/files/neg/compile-time-only-a.check
new file mode 100644
index 0000000000..99d7a8e2dd
--- /dev/null
+++ b/test/files/neg/compile-time-only-a.check
@@ -0,0 +1,19 @@
+compile-time-only-a.scala:41: error: C5
+ 2.ext
+ ^
+compile-time-only-a.scala:42: error: C5
+ C5(2)
+ ^
+compile-time-only-a.scala:45: error: C6.x
+ val _ = c6.x
+ ^
+compile-time-only-a.scala:46: error: C6.foo
+ c6.foo
+ ^
+compile-time-only-a.scala:48: error: C6.y
+ c6.y = c6.y
+ ^
+compile-time-only-a.scala:48: error: C6.y
+ c6.y = c6.y
+ ^
+6 errors found