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 b9f6f2e commit 34f6ac6Copy full SHA for 34f6ac6
tests/pos/i24076.scala
@@ -0,0 +1,7 @@
1
+transparent inline def bug(using ValueOf[1]): Int = 1
2
+transparent inline def foo(inline arg: Any): Any =
3
+ inline (arg, arg) match
4
+ case (_, _) =>
5
+ case _ =>
6
+ end match
7
+val x = foo(bug)
0 commit comments