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 23afa6f commit 5f3c3e8Copy full SHA for 5f3c3e8
tests/run/i2642.scala
@@ -0,0 +1,7 @@
1
+// Tests nullary implicit function types
2
+object Test extends App {
3
+ class I
4
+ type X = implicit () => Int
5
+ def ff: X = 2
6
+ assert(ff == 2)
7
+}
0 commit comments