diff options
author | Martin Odersky <odersky@gmail.com> | 2006-10-30 17:29:19 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-10-30 17:29:19 +0000 |
commit | 7ebc41cda22ee26d4242e305782a14f7e6bf63aa (patch) | |
tree | 2ead03fe1fae2466677cdcddcbb5ac2e7c4778ed /test/files/neg/bug415.check | |
parent | 640ecf38b7125ff0d2c926a9a634593640cd95b1 (diff) | |
download | scala-7ebc41cda22ee26d4242e305782a14f7e6bf63aa.tar.gz scala-7ebc41cda22ee26d4242e305782a14f7e6bf63aa.tar.bz2 scala-7ebc41cda22ee26d4242e305782a14f7e6bf63aa.zip |
fixed bugs 54, 415
Improved avoidance of MalformedType's
Diffstat (limited to 'test/files/neg/bug415.check')
-rw-r--r-- | test/files/neg/bug415.check | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/files/neg/bug415.check b/test/files/neg/bug415.check index c6c9805aa6..76dbc64bc2 100644 --- a/test/files/neg/bug415.check +++ b/test/files/neg/bug415.check @@ -1,5 +1,9 @@ -bug415.scala:8 error: method x cannot be accessed in A +bug415.scala:10 error: method x cannot be accessed in A because its instance type => A#T contains a malformed type: A#T - val y: String = a.x; - ^ -one error found + val y = a.x; + ^ +bug415.scala:20 error: method x cannot be accessed in A2 + because its instance type => scala.Array[A2#T] contains a malformed type: A2#T + val y: Array[String] = a.x; + ^ +two errors found |