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 ee22f54 commit 1209716Copy full SHA for 1209716
tests/pos-custom-args/captures/i23727.scala
@@ -1 +1,3 @@
1
-object Test
+def test1(): Unit =
2
+ val t1: (x: () => Unit) -> (y: () ->{x} Unit) -> Unit =
3
+ x => y => () // should ok, but error
0 commit comments