We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 901479c commit 7996022Copy full SHA for 7996022
tests/neg/i15741.scala
@@ -1,14 +1,14 @@
1
def get(using Int): String = summon[Int].toString
2
3
- def pf2: PartialFunction[String, Int ?=> String] = { // error
4
- case "hoge" => get
+ def pf2: PartialFunction[String, Int ?=> String] = {
+ case "hoge" => get // error
5
case "huga" => get
6
}
7
8
type IS = Int ?=> String
9
10
- def pf3: PartialFunction[String, IS] = { // error
11
+ def pf3: PartialFunction[String, IS] = {
12
13
14
0 commit comments