summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/neg/bug38.check11
-rw-r--r--test/neg/bug38.check11
2 files changed, 14 insertions, 8 deletions
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