summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/ticket2197.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/ticket2197.scala b/test/files/pos/ticket2197.scala
new file mode 100644
index 0000000000..1679d7d51a
--- /dev/null
+++ b/test/files/pos/ticket2197.scala
@@ -0,0 +1,7 @@
+trait PartialType[T[_, _], A] {
+ type Apply[B] = T[A, B]
+}
+
+sealed trait State[S, +A]
+trait Pure[P[_]]
+trait StatePure[X] extends Pure[PartialType[State, X]#Apply] \ No newline at end of file