assignability to primitive: check type parameter bounds if applicable (IDEA-155551)

This commit is contained in:
Anna.Kozlova
2016-05-04 11:09:25 +02:00
parent 1b6a531c15
commit 7fb3086dc5
3 changed files with 27 additions and 6 deletions
@@ -0,0 +1,7 @@
class Test {
<T extends S, S extends Long, K extends Long & Runnable> void method1(T param, S param1, K param2) {
long l = param;
long l1 = param1;
long l2 = param2;
}
}