Skip to content

Commit c84ff29

Browse files
committed
Add regression test for #10301
1 parent 8ff63f2 commit c84ff29

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
public interface Bar {}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
public interface Foo {}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public class Quux {
2+
public <A extends Foo> void baz(A x) {}
3+
public <B extends Bar> void baz(B x) {}
4+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
trait Test {
2+
def q: Quux
3+
def f: Foo
4+
q.baz[Foo](f)
5+
}

0 commit comments

Comments
 (0)