From 6c9deb38e10d9afffa4b6ce5ebb851803b69fb3a Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 1 Dec 2003 14:08:56 +0000 Subject: *** empty log message *** --- test/files/neg/bug38.check | 11 +++++++---- test/neg/bug38.check | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) (limited to 'test') diff --git a/test/files/neg/bug38.check b/test/files/neg/bug38.check index 6c1b463d68..8f053cfaa8 100644 --- a/test/files/neg/bug38.check +++ b/test/files/neg/bug38.check @@ -1,4 +1,7 @@ -bug236.scala:4: constructor A of type ()A cannot be applied to (scala.Int) - class B extends A(1) { - ^ -one error found +bug38.scala:3: * is not a member of scala.xml + import scala.xml.* ; // does not work + ^ +bug38.scala:7: not found: type Element + val foo = new Element { def getName = "hallo"; def getChildren = Nil; def getAttribs = new HashMap[String,String] }; + ^ +two errors found diff --git a/test/neg/bug38.check b/test/neg/bug38.check index 6c1b463d68..8f053cfaa8 100644 --- a/test/neg/bug38.check +++ b/test/neg/bug38.check @@ -1,4 +1,7 @@ -bug236.scala:4: constructor A of type ()A cannot be applied to (scala.Int) - class B extends A(1) { - ^ -one error found +bug38.scala:3: * is not a member of scala.xml + import scala.xml.* ; // does not work + ^ +bug38.scala:7: not found: type Element + val foo = new Element { def getName = "hallo"; def getChildren = Nil; def getAttribs = new HashMap[String,String] }; + ^ +two errors found -- cgit v1.2.3