mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-11-13 00:33:59 +07:00
new inference: don't add primitive equals bounds
This commit is contained in:
1 parent
952a9be315
commit
fc288cf04d
3 files changed
+8
-6
No files matched your search
+1
-1
@@ -32,6 +32,6 @@ class ReturnTypeCompatibility {
|
||||
call((String i)->{ return i;});
|
||||
call(i->{ return i;});
|
||||
call(i->"");
|
||||
call(<error descr="no instance(s) of type variable(s) exist so that Integer conforms to int">(int i)->{ return i;}</error>);
|
||||
call(<error descr="no instance(s) of type variable(s) P exist so that P conforms to int">(int i)->{ return i;}</error>);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user