Skip to content

Commit 2a285cd

Browse files
committed
Add fixed test case for #3658
1 parent 49b6029 commit 2a285cd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/pos/i3658.scala

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
object App {
2+
def main(args: Array[String]): Unit = {
3+
trait ModuleSig {
4+
type F[_]
5+
type Type = F
6+
7+
def subst[F[_[_]]](fa: F[List]): F[Type]
8+
}
9+
val Module: ModuleSig = new ModuleSig {
10+
type F[+A] = List[A]
11+
12+
def subst[FF[_[_]]](fa: FF[List]): FF[Type] = fa
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)