spec: no capture conversion applicable for array type; capture conversion must be applied for array access expression type; javac: no capture conversion is applicable for array access expressions with write access (IDEA-157295)

This commit is contained in:
Anna Kozlova
2016-06-22 15:24:15 +03:00
parent 848699b440
commit 1c52cb7fd6
4 changed files with 19 additions and 5 deletions
@@ -815,10 +815,6 @@ public final class PsiUtil extends PsiUtilCore {
}
}
}
else if (type instanceof PsiArrayType) {
return captureToplevelWildcards(((PsiArrayType)type).getComponentType(), context).createArrayType();
}
return type;
}