Skip to content

Commit 95f0021

Browse files
committed
chore: add regression test for #22567
1 parent f8a521f commit 95f0021

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: tests/pos/i22567.scala

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

0 commit comments

Comments
 (0)