summaryrefslogtreecommitdiff
path: root/test/files/neg/t0015.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-02-23 19:21:05 +0000
committerMartin Odersky <odersky@gmail.com>2009-02-23 19:21:05 +0000
commitbf35b888e49afb245883571cc00cbb5ec7341f24 (patch)
tree8c060484dde8c122f1d65fceedf0dd962a4ad90c /test/files/neg/t0015.scala
parenta4baf48a5fb38f29d462accc57f93032955efa0e (diff)
downloadscala-bf35b888e49afb245883571cc00cbb5ec7341f24.tar.gz
scala-bf35b888e49afb245883571cc00cbb5ec7341f24.tar.bz2
scala-bf35b888e49afb245883571cc00cbb5ec7341f24.zip
fixed several problems with cyclic references u...
fixed several problems with cyclic references uncovered by experimenting with collections. Added early type definitions.
Diffstat (limited to 'test/files/neg/t0015.scala')
-rw-r--r--test/files/neg/t0015.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t0015.scala b/test/files/neg/t0015.scala
index 35a6cd11fc..225197f950 100644
--- a/test/files/neg/t0015.scala
+++ b/test/files/neg/t0015.scala
@@ -18,7 +18,7 @@ abstract class M
// compiles successfully
//f[Int](self: actualSelfType)
- f[Int](self: selfType)
+ f[Int](self: selfType) // compiles Ok now was well, because we narrow to singletonType in this situation
//def g(x: Any) = {}
//g(self: selfType)