Skip to content

Commit 8bc8365

Browse files
oderskysmarter
authored andcommitted
Add test file
1 parent bfee834 commit 8bc8365

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/pos/i576.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
class A
2+
3+
object Impl {
4+
def foo()(implicit x: A = null): Int = 2
5+
def test: Int = {
6+
foo()() // ok
7+
foo() // did not work before, does now
8+
}
9+
}

0 commit comments

Comments
 (0)