diff options
Diffstat (limited to 'tests/pos/i2201a.scala')
-rw-r--r-- | tests/pos/i2201a.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pos/i2201a.scala b/tests/pos/i2201a.scala new file mode 100644 index 000000000..165f0a76e --- /dev/null +++ b/tests/pos/i2201a.scala @@ -0,0 +1,8 @@ +class Foo[T] + +class Fix[F[_]](unfix: F[Fix[F]]) +object DocTree { + type Const[T] = Foo[Int] + type FixConst = Fix[Const] + def docTree(s: Const[FixConst]): FixConst = new Fix(s) +} |