Skip to content

Commit ab091cf

Browse files
Merge pull request #5758 from dotty-staging/fix-#3955
Fix #3955: Add regression test
2 parents 86ac8f2 + 00d8a8e commit ab091cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pos/i3955.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
object Foo {
2+
inline def f[S, T](x: S): T = ???
3+
def g(x: Int) = f[T = Any](x)
4+
}

0 commit comments

Comments
 (0)