summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-12-01 14:08:56 +0000
committerMartin Odersky <odersky@gmail.com>2003-12-01 14:08:56 +0000
commit6c9deb38e10d9afffa4b6ce5ebb851803b69fb3a (patch)
treea15e4cc40a23a325f09fe61e94a4dd38a90b2388 /test
parent6a1db626b608af73b47f6b8e327537ef77b68598 (diff)
downloadscala-6c9deb38e10d9afffa4b6ce5ebb851803b69fb3a.tar.gz
scala-6c9deb38e10d9afffa4b6ce5ebb851803b69fb3a.tar.bz2
scala-6c9deb38e10d9afffa4b6ce5ebb851803b69fb3a.zip
*** empty log message ***
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