Began evaluation of the tests in pending, and moved/updated/removed

.scala and .check files as warranted.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@17119 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
extempore 2009-02-16 16:28:31 +00:00
parent 30be005d6a
commit 1394022120
23 changed files with 22 additions and 60 deletions

View File

@ -0,0 +1,4 @@
badtok-3.scala:2: error: input ended while parsing XML
<x
^
one error found

View File

@ -0,0 +1,6 @@
bug112706A.scala:5: error: constructor cannot be instantiated to expected type;
found : (T1, T2)
required: java.lang.String
case Tuple2(node,_) =>
^
one error found

View File

@ -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

View File

@ -0,0 +1,4 @@
Test.scala:2: error: value InnerClass is not a member of object JavaClass
val x = JavaClass.InnerClass
^
one error found

View File

@ -1 +0,0 @@
(something about, input ended while scanning XML literal)

View File

@ -1,5 +1,5 @@
package test;
import scala.collection.immutable._;
import scala.collection.immutable.ListSet
import scala.collection.mutable._;
trait TypeManagerXXX {
trait TypedNode;

View File

@ -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?");
}
}

View File

@ -1,6 +0,0 @@
bug452.scala:3: error: type mismatch;
found : Test
required: Test.this.Foo
def this() = this(this);
^
one error found

View File

@ -1,8 +0,0 @@
object Test {
class Foo(x: Foo) {
def this() = this(this);
}
def main(args: Array[String]): Unit = {
new Foo();
}
}

View File

@ -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

View File

@ -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;
}
}

View File

@ -1,3 +0,0 @@
object Test {
println "Hello"
}

View File

@ -1,4 +0,0 @@
Test.scala:2: error: not found: value JavaClass
val x = JavaClass.InnerClass
^
one error found

View File

@ -1,5 +0,0 @@
object T1049 {
"abc" match {
case x: x.Whatever =>
}
}