summaryrefslogtreecommitdiff
path: root/test/pending/run
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2006-05-30 10:47:58 +0000
committerMartin Odersky <odersky@gmail.com>2006-05-30 10:47:58 +0000
commitf7a989f23a40541d6f2b6de88dca3c55e6d7376f (patch)
tree4c86eb89b85ebfebc0f458b3efbb68df668b68d7 /test/pending/run
parent335de89b823ac04008aab6a05569d1097068e6cf (diff)
downloadscala-f7a989f23a40541d6f2b6de88dca3c55e6d7376f.tar.gz
scala-f7a989f23a40541d6f2b6de88dca3c55e6d7376f.tar.bz2
scala-f7a989f23a40541d6f2b6de88dca3c55e6d7376f.zip
fixed bugs615 and 617
Diffstat (limited to 'test/pending/run')
-rw-r--r--test/pending/run/bug429.scala15
-rw-r--r--test/pending/run/bug441.scala12
2 files changed, 0 insertions, 27 deletions
diff --git a/test/pending/run/bug429.scala b/test/pending/run/bug429.scala
deleted file mode 100644
index b2cc8128c0..0000000000
--- a/test/pending/run/bug429.scala
+++ /dev/null
@@ -1,15 +0,0 @@
-object Test {
- abstract class A {
- Console.print("A");
- val x: Int;
- val y: Int = {Console.print("y"); x + 1}
- }
- class B extends A {
- Console.print("B");
- val z = 0;
- val x = 4 + z
- }
- def main (args: Array[String]): Unit = {
- Console.print((new B).y);
- }
-}
diff --git a/test/pending/run/bug441.scala b/test/pending/run/bug441.scala
deleted file mode 100644
index d90e872baa..0000000000
--- a/test/pending/run/bug441.scala
+++ /dev/null
@@ -1,12 +0,0 @@
-object Test extends Application {
-
- def bug() = {
- val foo: Array[String] = Array("1","2","3");
- if( foo.length == null ) // == 0 makes more sense, but still
- Console.println("plante"); // this code leads to runtime crash
- else
- Console.println("plante pas");
- }
-
- bug()
-}