properly read vararg signature from java code
KT-1694 Java vararg override, Why is it intuitive interface? #KT-1694 Fixed
This commit is contained in:
+1
@@ -1087,6 +1087,7 @@ public class JavaDescriptorResolver {
|
||||
JetType varargElementType;
|
||||
if (psiType instanceof PsiEllipsisType) {
|
||||
varargElementType = JetStandardLibrary.getInstance().getArrayElementType(TypeUtils.makeNotNullable(outType));
|
||||
outType = TypeUtils.makeNotNullable(outType);
|
||||
}
|
||||
else {
|
||||
varargElementType = null;
|
||||
|
||||
Reference in New Issue
Block a user