summaryrefslogtreecommitdiff
path: root/test/files/run/static-annot-repl.check
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-09-14 10:45:43 +0200
committerGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-09-17 20:26:08 +0200
commit6b9e1a0747159128da1e84795c1be6698e16ee43 (patch)
tree78922e7ef36a25cbdd473f2f5e44986ed9727a36 /test/files/run/static-annot-repl.check
parent6854842cf88f020289b783983d13ebef4d7605f4 (diff)
downloadscala-6b9e1a0747159128da1e84795c1be6698e16ee43.tar.gz
scala-6b9e1a0747159128da1e84795c1be6698e16ee43.tar.bz2
scala-6b9e1a0747159128da1e84795c1be6698e16ee43.zip
Revert "Fixes SI-6189."
This reverts commit 5a8dfad583b825158cf0abdae5d73a4a7f8cd997. Conflicts: src/compiler/scala/tools/nsc/backend/icode/GenICode.scala
Diffstat (limited to 'test/files/run/static-annot-repl.check')
-rw-r--r--test/files/run/static-annot-repl.check32
1 files changed, 0 insertions, 32 deletions
diff --git a/test/files/run/static-annot-repl.check b/test/files/run/static-annot-repl.check
deleted file mode 100644
index d1029a9809..0000000000
--- a/test/files/run/static-annot-repl.check
+++ /dev/null
@@ -1,32 +0,0 @@
-Type in expressions to have them evaluated.
-Type :help for more information.
-
-scala>
-
-scala> import annotation.static
-import annotation.static
-
-scala> @static var x1 = 42
-x1: Int = 42
-
-scala> @static val x2 = 43
-x2: Int = 43
-
-scala> @static def x3 = 44
-x3: Int
-
-scala> x1
-res0: Int = 42
-
-scala> x2
-res1: Int = 43
-
-scala> x3
-res2: Int = 44
-
-scala> class Test {
- @static def x = 42
-}
-defined class Test
-
-scala> \ No newline at end of file