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 bf81cf3 commit 9cb5f83Copy full SHA for 9cb5f83
tests/neg/insertapply.scala
@@ -0,0 +1,6 @@
1
+class C {
2
+ def apply: C
3
+}
4
+object Test {
5
+ (new C)(22) // error: does not take parameters
6
tests/pos/insertapply.scala
0 commit comments