Skip to content

Commit 3a7cd42

Browse files
test: add in a regression test for #14278 (#17510)
[skip community_build] closes #14278
2 parents 984d19a + e0d1f37 commit 3a7cd42

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/i14278.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// https://github.com/lampepfl/dotty/issues/14278
2+
class Foo
3+
4+
extension (foo: Foo)
5+
def patch(arg: List[Int], arg2: Int = 0): Unit = {}
6+
def patch(arg: Int): Unit = patch(List(arg))

0 commit comments

Comments
 (0)