aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-17 17:08:32 +0100
committerTobias Schlatter <tobias@meisch.ch>2014-03-21 11:28:30 +0100
commit7820e62e30a63f2b8fd6b8bab8f96be6924a63a1 (patch)
treedf75fe9f17d0945ffdb14656ab8096107f36fb3d /tests/untried/pos
parent77d1c83ff67894bf87d37bfb8982d818fdc88f73 (diff)
downloaddotty-7820e62e30a63f2b8fd6b8bab8f96be6924a63a1.tar.gz
dotty-7820e62e30a63f2b8fd6b8bab8f96be6924a63a1.tar.bz2
dotty-7820e62e30a63f2b8fd6b8bab8f96be6924a63a1.zip
Fix of t1056 - PartialFunction
type T was not recorgnized as a SAM type because a case was missing in zeroParamClass.
Diffstat (limited to 'tests/untried/pos')
-rw-r--r--tests/untried/pos/t1056.scala5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/untried/pos/t1056.scala b/tests/untried/pos/t1056.scala
deleted file mode 100644
index 68f1ff273..000000000
--- a/tests/untried/pos/t1056.scala
+++ /dev/null
@@ -1,5 +0,0 @@
-object Test {
- type T = PartialFunction[String,String]
- def g(h: T) = ()
- g({case s: String => s})
-}