Skip to content

Commit 731551a

Browse files
committed
chore: add regression test for #22567
1 parent f8a521f commit 731551a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/pos/i22567.scala

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
object A1 {
2+
def f1(implicit x1: String, x2: Int = 2): Unit = ()
3+
}
4+
5+
object A2 {
6+
given String = "s"
7+
def f2 = A1.f1
8+
}

0 commit comments

Comments
 (0)