Skip to content

Commit bf81cf3

Browse files
committed
Another test
This one verifies that we still need the `isSyntheticApply` condition in the test whether to elide an `apply` insertion attempt.
1 parent a0e3189 commit bf81cf3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/insertapply.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class C {
2+
def apply: C
3+
}
4+
object Test {
5+
(new C)(22)
6+
}

0 commit comments

Comments
 (0)