Skip to content

Commit 00d8a8e

Browse files
committed
Fix #3955: Add regression test
1 parent 2ce89da commit 00d8a8e

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)