We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 984d19a + e0d1f37 commit 3a7cd42Copy full SHA for 3a7cd42
tests/pos/i14278.scala
@@ -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