resolve int vararg from java

This commit is contained in:
Stepan Koltsov
2012-05-03 17:05:37 +04:00
parent e0ea953ba2
commit 28dc1ba6be
4 changed files with 17 additions and 1 deletions
@@ -1156,7 +1156,7 @@ public class JavaDescriptorResolver {
JetType varargElementType;
if (psiType instanceof PsiEllipsisType) {
varargElementType = JetStandardLibrary.getInstance().getArrayElementType(outType);
varargElementType = JetStandardLibrary.getInstance().getArrayElementType(TypeUtils.makeNotNullable(outType));
}
else {
varargElementType = null;