diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/bug38.check | 11 | ||||
-rw-r--r-- | test/neg/bug38.check | 11 |
2 files changed, 8 insertions, 14 deletions
diff --git a/test/files/neg/bug38.check b/test/files/neg/bug38.check index 8f053cfaa8..6c1b463d68 100644 --- a/test/files/neg/bug38.check +++ b/test/files/neg/bug38.check @@ -1,7 +1,4 @@ -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 +bug236.scala:4: constructor A of type ()A cannot be applied to (scala.Int) + class B extends A(1) { + ^ +one error found diff --git a/test/neg/bug38.check b/test/neg/bug38.check index 8f053cfaa8..6c1b463d68 100644 --- a/test/neg/bug38.check +++ b/test/neg/bug38.check @@ -1,7 +1,4 @@ -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 +bug236.scala:4: constructor A of type ()A cannot be applied to (scala.Int) + class B extends A(1) { + ^ +one error found |