diff --git a/test/files/neg/badtok-3.check b/test/files/neg/badtok-3.check new file mode 100644 index 000000000..ec1b0591f --- /dev/null +++ b/test/files/neg/badtok-3.check @@ -0,0 +1,4 @@ +badtok-3.scala:2: error: input ended while parsing XML + + ^ +one error found diff --git a/test/pending/neg/bug112706A.scala b/test/files/neg/bug112706A.scala similarity index 100% rename from test/pending/neg/bug112706A.scala rename to test/files/neg/bug112706A.scala diff --git a/test/files/neg/parstar.check b/test/files/neg/parstar.check new file mode 100644 index 000000000..108f0f4de --- /dev/null +++ b/test/files/neg/parstar.check @@ -0,0 +1,7 @@ +parstar.scala:8: error: *-parameter must come last + def m(a: A*, b: B ) = a.toArray + ^ +parstar.scala:9: error: *-parameter must come last + def m(a: A*, b: B*) = a.toArray + ^ +two errors found diff --git a/test/pending/neg/parstar.scala b/test/files/neg/parstar.scala similarity index 100% rename from test/pending/neg/parstar.scala rename to test/files/neg/parstar.scala diff --git a/test/files/neg/t0673.check b/test/files/neg/t0673.check new file mode 100644 index 000000000..abb37a022 --- /dev/null +++ b/test/files/neg/t0673.check @@ -0,0 +1,4 @@ +Test.scala:2: error: value InnerClass is not a member of object JavaClass + val x = JavaClass.InnerClass + ^ +one error found diff --git a/test/pending/neg/t0673/JavaClass.java b/test/files/neg/t0673/JavaClass.java similarity index 100% rename from test/pending/neg/t0673/JavaClass.java rename to test/files/neg/t0673/JavaClass.java diff --git a/test/pending/neg/t0673/Test.scala b/test/files/neg/t0673/Test.scala similarity index 100% rename from test/pending/neg/t0673/Test.scala rename to test/files/neg/t0673/Test.scala diff --git a/test/pending/neg/t0699.check b/test/files/neg/t0699.check similarity index 100% rename from test/pending/neg/t0699.check rename to test/files/neg/t0699.check diff --git a/test/pending/pos/t0699/A.scala b/test/files/neg/t0699/A.scala similarity index 100% rename from test/pending/pos/t0699/A.scala rename to test/files/neg/t0699/A.scala diff --git a/test/pending/pos/t0699/B.scala b/test/files/neg/t0699/B.scala similarity index 100% rename from test/pending/pos/t0699/B.scala rename to test/files/neg/t0699/B.scala diff --git a/test/pending/pos/t1439.scala b/test/files/pos/t1439.scala similarity index 100% rename from test/pending/pos/t1439.scala rename to test/files/pos/t1439.scala diff --git a/test/pending/neg/badtok-3.check b/test/pending/neg/badtok-3.check deleted file mode 100644 index 25486b9a2..000000000 --- a/test/pending/neg/badtok-3.check +++ /dev/null @@ -1 +0,0 @@ -(something about, input ended while scanning XML literal) diff --git a/test/pending/neg/bug112506A.scala b/test/pending/neg/bug112506A.scala index 1a3ca2a63..e1ecab2a1 100644 --- a/test/pending/neg/bug112506A.scala +++ b/test/pending/neg/bug112506A.scala @@ -1,5 +1,5 @@ package test; -import scala.collection.immutable._; +import scala.collection.immutable.ListSet import scala.collection.mutable._; trait TypeManagerXXX { trait TypedNode; diff --git a/test/pending/neg/bug421.scala b/test/pending/neg/bug421.scala deleted file mode 100644 index bf7346f01..000000000 --- a/test/pending/neg/bug421.scala +++ /dev/null @@ -1,9 +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/neg/bug452.check b/test/pending/neg/bug452.check deleted file mode 100644 index 308ec18bd..000000000 --- a/test/pending/neg/bug452.check +++ /dev/null @@ -1,6 +0,0 @@ -bug452.scala:3: error: type mismatch; - found : Test - required: Test.this.Foo - def this() = this(this); - ^ -one error found diff --git a/test/pending/neg/bug452.scala b/test/pending/neg/bug452.scala deleted file mode 100644 index 855406d0c..000000000 --- a/test/pending/neg/bug452.scala +++ /dev/null @@ -1,8 +0,0 @@ -object Test { - class Foo(x: Foo) { - def this() = this(this); - } - def main(args: Array[String]): Unit = { - new Foo(); - } -} diff --git a/test/pending/neg/bug558.check b/test/pending/neg/bug558.check deleted file mode 100644 index a51856f0e..000000000 --- a/test/pending/neg/bug558.check +++ /dev/null @@ -1,4 +0,0 @@ -bug558.scala:13: error: value file is not a member of NewModel.this.RootURL - final val source = top.file; - ^ -one error found diff --git a/test/pending/neg/bug558.scala b/test/pending/neg/bug558.scala deleted file mode 100644 index 3daae72b4..000000000 --- a/test/pending/neg/bug558.scala +++ /dev/null @@ -1,19 +0,0 @@ -package scala.tools.nsc.models; -import scala.tools.util._; - -abstract class NewModel { - abstract class SymbolURL { - val top : RootURL; - val name : String; - val source : AbstractFile; - } - abstract class NodeURL extends SymbolURL { - val parent : SymbolURL; - final val top = parent.top; - final val source = top.file; - - } - abstract class RootURL extends SymbolURL { - final val top : RootURL = this; - } -} diff --git a/test/pending/neg/t0605.scala b/test/pending/neg/t0605.scala deleted file mode 100644 index af24ceda8..000000000 --- a/test/pending/neg/t0605.scala +++ /dev/null @@ -1,3 +0,0 @@ -object Test { - println "Hello" -} diff --git a/test/pending/neg/t0673.check b/test/pending/neg/t0673.check deleted file mode 100644 index e52f65ada..000000000 --- a/test/pending/neg/t0673.check +++ /dev/null @@ -1,4 +0,0 @@ -Test.scala:2: error: not found: value JavaClass - val x = JavaClass.InnerClass - ^ -one error found diff --git a/test/pending/neg/t1049.scala b/test/pending/neg/t1049.scala deleted file mode 100644 index 8fb0f7fb6..000000000 --- a/test/pending/neg/t1049.scala +++ /dev/null @@ -1,5 +0,0 @@ -object T1049 { - "abc" match { - case x: x.Whatever => - } -}