diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pos/i2071.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pos/i2071.scala b/tests/pos/i2071.scala new file mode 100644 index 000000000..1855dccf4 --- /dev/null +++ b/tests/pos/i2071.scala @@ -0,0 +1,7 @@ +object Test { + type PF[A, B] = PartialFunction[A, B] + + val f: PF[Int, String] = { + case i => "bar" + } +}
\ No newline at end of file |