Skip to content

Commit 7996022

Browse files
committed
Fix test
1 parent 901479c commit 7996022

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/neg/i15741.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
def get(using Int): String = summon[Int].toString
22

3-
def pf2: PartialFunction[String, Int ?=> String] = { // error
4-
case "hoge" => get
3+
def pf2: PartialFunction[String, Int ?=> String] = {
4+
case "hoge" => get // error
55
case "huga" => get
66
}
77

88
type IS = Int ?=> String
99

10-
def pf3: PartialFunction[String, IS] = { // error
11-
case "hoge" => get
10+
def pf3: PartialFunction[String, IS] = {
11+
case "hoge" => get // error
1212
case "huga" => get
1313
}
1414

0 commit comments

Comments
 (0)