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 a02cbe4 commit c6b65cdCopy full SHA for c6b65cd
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