diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2009-08-06 10:25:28 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2009-08-06 10:25:28 +0000 |
commit | f22d1313c2527dd87b342e3461b577e51a2f1576 (patch) | |
tree | a910e5d9d797bbc68fa90288f42a0a9bdd951ca7 /test | |
parent | d32130e1f4795b0d5c9ac891474c88c3884ee898 (diff) | |
download | scala-f22d1313c2527dd87b342e3461b577e51a2f1576.tar.gz scala-f22d1313c2527dd87b342e3461b577e51a2f1576.tar.bz2 scala-f22d1313c2527dd87b342e3461b577e51a2f1576.zip |
fixed ticket #2197
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/ticket2197.scala | 7 |
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 |