Skip to content

Commit 59be459

Browse files
test: add in a regression test for #14096 (#17508)
[skip community_build] closes #14096
2 parents 17a0c6c + 2ac9525 commit 59be459

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/pos/i14096.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// https://github.com/lampepfl/dotty/issues/14096
2+
object Test:
3+
object Forte:
4+
def test[T](i: Int, config: String = ""): Int = 1
5+
def test[T](i: String): Int = 2
6+
7+
Forte.test[Int](1)

0 commit comments

Comments
 (0)