diff options
Diffstat (limited to 'test/pending/pos')
-rw-r--r-- | test/pending/pos/t6161.scala | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test/pending/pos/t6161.scala b/test/pending/pos/t6161.scala deleted file mode 100644 index 5783cc85f2..0000000000 --- a/test/pending/pos/t6161.scala +++ /dev/null @@ -1,22 +0,0 @@ -object t6161 { - trait N { - type Name - } - - trait N1 extends N { - class Name { - type ThisNameType <: Name - def encode: ThisNameType = ??? - } - } - - trait S { - self: N => // change to N1 and it compiles - type NameType <: Name - } - - object g extends S with N1 - - val n1: g.NameType = ??? - val n2: g.Name = n1.encode -} |