summaryrefslogtreecommitdiff
path: root/test/pending
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-04-17 12:05:31 +0000
committermihaylov <mihaylov@epfl.ch>2007-04-17 12:05:31 +0000
commit02550b2be341217162549fd3e45ef33b7532c0f3 (patch)
tree8c7f2aea8433adb022b63387466e17b9ca243403 /test/pending
parent44a06ff6abd64e68d0acec48b789f9a48ef1d455 (diff)
downloadscala-02550b2be341217162549fd3e45ef33b7532c0f3.tar.gz
scala-02550b2be341217162549fd3e45ef33b7532c0f3.tar.bz2
scala-02550b2be341217162549fd3e45ef33b7532c0f3.zip
Moved some test from pending/ to files/
Diffstat (limited to 'test/pending')
-rw-r--r--test/pending/neg/bug432.check4
-rw-r--r--test/pending/neg/bug432.scala2
-rw-r--r--test/pending/neg/bug555.check4
-rw-r--r--test/pending/neg/bug555.scala5
-rw-r--r--test/pending/neg/bug556.check4
-rw-r--r--test/pending/neg/bug556.scala4
-rw-r--r--test/pending/pos/bug0422.scala17
-rw-r--r--test/pending/pos/bug599.scala18
-rw-r--r--test/pending/pos/bug646.scala21
9 files changed, 0 insertions, 79 deletions
diff --git a/test/pending/neg/bug432.check b/test/pending/neg/bug432.check
deleted file mode 100644
index 54d4bd7817..0000000000
--- a/test/pending/neg/bug432.check
+++ /dev/null
@@ -1,4 +0,0 @@
-bug432.scala:2: error: Tata is already defined as case class Tata
-object Tata
-^
-one error found
diff --git a/test/pending/neg/bug432.scala b/test/pending/neg/bug432.scala
deleted file mode 100644
index 8e3097ac9d..0000000000
--- a/test/pending/neg/bug432.scala
+++ /dev/null
@@ -1,2 +0,0 @@
-case class Tata
-object Tata
diff --git a/test/pending/neg/bug555.check b/test/pending/neg/bug555.check
deleted file mode 100644
index e72714d36c..0000000000
--- a/test/pending/neg/bug555.check
+++ /dev/null
@@ -1,4 +0,0 @@
-bug555.scala:4: error: block must end in result expression, not in definition
- }
- ^
-one error found
diff --git a/test/pending/neg/bug555.scala b/test/pending/neg/bug555.scala
deleted file mode 100644
index 26dbe6cc0d..0000000000
--- a/test/pending/neg/bug555.scala
+++ /dev/null
@@ -1,5 +0,0 @@
-object Main extends Application {
- def tata = {
- def titi = {}
- }
-}
diff --git a/test/pending/neg/bug556.check b/test/pending/neg/bug556.check
deleted file mode 100644
index 26aa2f1129..0000000000
--- a/test/pending/neg/bug556.check
+++ /dev/null
@@ -1,4 +0,0 @@
-bug556.scala:3: error: wrong number of parameters; expected = 1
- def g:Int = f((x,y)=>x)
- ^
-one error found
diff --git a/test/pending/neg/bug556.scala b/test/pending/neg/bug556.scala
deleted file mode 100644
index 4f4e905fbb..0000000000
--- a/test/pending/neg/bug556.scala
+++ /dev/null
@@ -1,4 +0,0 @@
-object Main extends Application {
- def f(a:Int=>Int):Int = a(4)
- def g:Int = f((x,y)=>x)
-}
diff --git a/test/pending/pos/bug0422.scala b/test/pending/pos/bug0422.scala
deleted file mode 100644
index cb3ba279d4..0000000000
--- a/test/pending/pos/bug0422.scala
+++ /dev/null
@@ -1,17 +0,0 @@
-import scala.util.regexp.WordExp;
-import scala.util.automata.WordBerrySethi;
-
-object BoolWordExp extends WordExp {
- type _labelT = MyLabels;
- type _regexpT = RegExp;
- abstract class MyLabels extends Label ;
- case class MyLabel(c:Char) extends MyLabels;
-}
-
-object MyTranslator extends WordBerrySethi {
- override val lang = BoolWordExp;
- import lang._;
- override protected def seenLabel( r:RegExp, i:Int, label: _labelT ): Unit = {
- super.seenLabel(r,i,label)
- }
-}
diff --git a/test/pending/pos/bug599.scala b/test/pending/pos/bug599.scala
deleted file mode 100644
index 885159af66..0000000000
--- a/test/pending/pos/bug599.scala
+++ /dev/null
@@ -1,18 +0,0 @@
-abstract class FooA {
- type A <: Ax;
- abstract class Ax;
- abstract class InnerA {
- type B <: A;
- def doB : B;
- }
- }
- trait FooB extends FooA {
- type A <: Ax;
- trait Ax extends super.Ax { def xxx : Int; }
- abstract class InnerB extends InnerA {
- // type B <: A;
- val a : A = doB;
- a.xxx;
- doB.xxx;
- }
- }
diff --git a/test/pending/pos/bug646.scala b/test/pending/pos/bug646.scala
deleted file mode 100644
index 64214f65b1..0000000000
--- a/test/pending/pos/bug646.scala
+++ /dev/null
@@ -1,21 +0,0 @@
-object xfor {
-
- import scala.xml.NodeSeq
-
- val books =
- <bks>
- <title>Blabla</title>
- <title>Blubabla</title>
- <title>Baaaaaaalabla</title>
- </bks>;
-
- new NodeSeq { val theSeq = books.child } match {
- case t @ <title>Blabla</title> => t
- }
-
- //val n: NodeSeq = new NodeSeq { val theSeq = books.child }
- //n match {
- // case t @ <title>Blabla</title> => t
- //}
-
-}