inference for non-poly expressions: isAssignable already contains loose context inside, don't allow any additional conversions (IDEA-152694)

This commit is contained in:
Anna Kozlova
2016-03-09 14:23:53 +01:00
parent 5b8e459686
commit db215203e0
3 changed files with 16 additions and 3 deletions
@@ -0,0 +1,8 @@
class Test {
{
pair<error descr="'pair(byte)' in 'Test' cannot be applied to '(int)'">(2)</error>;
}
static <T> void pair( byte b) {}
}