summaryrefslogtreecommitdiff
path: root/test/pending
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
parent335de89b823ac04008aab6a05569d1097068e6cf (diff)
downloadscala-f7a989f23a40541d6f2b6de88dca3c55e6d7376f.tar.gz
scala-f7a989f23a40541d6f2b6de88dca3c55e6d7376f.tar.bz2
scala-f7a989f23a40541d6f2b6de88dca3c55e6d7376f.zip
fixed bugs615 and 617
Diffstat (limited to 'test/pending')
-rw-r--r--test/pending/pos/bug421.scala8
-rw-r--r--test/pending/run/bug429.scala15
-rw-r--r--test/pending/run/bug441.scala12
3 files changed, 0 insertions, 35 deletions
diff --git a/test/pending/pos/bug421.scala b/test/pending/pos/bug421.scala
deleted file mode 100644
index 3e014b7500..0000000000
--- a/test/pending/pos/bug421.scala
+++ /dev/null
@@ -1,8 +0,0 @@
-object foo {
- case class Bar(a:String, b:Object, c:String*);
-
- Bar("foo","meets","bar") match {
- case Bar("foo",_*) => error("huh?");
- }
-
-}
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()
-}