diff options
Diffstat (limited to 'test/pending/neg')
-rw-r--r-- | test/pending/neg/bug1210.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/pending/neg/bug1210.scala b/test/pending/neg/bug1210.scala new file mode 100644 index 0000000000..b4c9c703be --- /dev/null +++ b/test/pending/neg/bug1210.scala @@ -0,0 +1,10 @@ +object Test { + def id[T](f: T => T): T = error("bla") + + abstract class M { self => + type Settings + type selfType = M {type Settings = self.Settings} + + val v: selfType = id[M.this.selfType](_.v) + } +}
\ No newline at end of file |