Skip to content

Commit e474907

Browse files
committed
Fix #3598: Add regression test
1 parent bacf9a6 commit e474907

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pos-from-tasty/i3598.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class Foo[A] {
2+
def baz(foo: Foo[_]): Unit = bar(foo)
3+
def bar[A](foo: Foo[A]): A = ???
4+
}

0 commit comments

Comments
 (0)