summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-12-12 17:18:49 +0000
committermichelou <michelou@epfl.ch>2007-12-12 17:18:49 +0000
commit98e9995ddd3b555aeca73f82671f86107a9ea68f (patch)
tree84a0b5eda7dd8bbbacfe2a702d6a2697c569c755 /test
parent81c78662cb3b34041c97c169597d1f0552636298 (diff)
downloadscala-98e9995ddd3b555aeca73f82671f86107a9ea68f.tar.gz
scala-98e9995ddd3b555aeca73f82671f86107a9ea68f.tar.bz2
scala-98e9995ddd3b555aeca73f82671f86107a9ea68f.zip
added final modifier, commented out test for #153
Diffstat (limited to 'test')
-rw-r--r--test/files/jvm5/annotations.check4
-rw-r--r--test/files/run/streams.check4
-rw-r--r--test/files/run/streams.scala2
3 files changed, 5 insertions, 5 deletions
diff --git a/test/files/jvm5/annotations.check b/test/files/jvm5/annotations.check
index f01f31d1d9..418301331f 100644
--- a/test/files/jvm5/annotations.check
+++ b/test/files/jvm5/annotations.check
@@ -11,7 +11,7 @@ class Test4$Foo2
class Test4$Foo3
@test.SourceAnnotation(mails={bill.gates@bloodsuckers.com}, value=file:///dev/null)
-private int Test4$Foo4.x
+private final int Test4$Foo4.x
@test.SourceAnnotation(mails={bill.gates@bloodsuckers.com}, value=file:///dev/null)
public int Test4$Foo4.x()
@@ -26,7 +26,7 @@ public Test4$Foo6(java.lang.String)
public Test4$Foo7()
@test.SourceAnnotation(mails={bill.gates@bloodsuckers.com}, value=constructor val)
-private int Test4$Foo8.n
+private final int Test4$Foo8.n
@test.SourceAnnotation(mails={bill.gates@bloodsuckers.com}, value=constructor val)
public int Test4$Foo8.n()
diff --git a/test/files/run/streams.check b/test/files/run/streams.check
index f36b719ac1..180217df4a 100644
--- a/test/files/run/streams.check
+++ b/test/files/run/streams.check
@@ -15,5 +15,5 @@ Stream()
Stream(1, 2)
Stream()
-99999
-65536
+9999
+8192
diff --git a/test/files/run/streams.scala b/test/files/run/streams.scala
index 1844fdb6ab..a4c5e132b2 100644
--- a/test/files/run/streams.scala
+++ b/test/files/run/streams.scala
@@ -22,7 +22,7 @@ object Test extends Application {
println(s2.dropWhile(_ > 0))
println
- val s3 = Stream.range(1, 100000)
+ val s3 = Stream.range(1, 10000) // 100000 (ticket #153: Stackoverflow)
println(s3.length)
// ticket #153