Fix compilation of IDEA plugin

This commit is contained in:
Alexey Andreev 2019-10-31 15:35:19 +03:00
parent 9bdec1fdb2
commit b60d57ea73

View File

@ -50,7 +50,10 @@ public class TeaVMValue extends XNamedValue {
if (Objects.equals(type, "java.lang.String")) {
getStringRepresentation().thenVoid(str -> node.setPresentation(icon, type, str, true));
} else {
node.setPresentation(icon, type, representation, innerValue.hasInnerStructure());
innerValue.hasInnerStructure().then(innerStructure -> {
node.setPresentation(icon, type, representation, innerStructure);
return null;
});
}
});
});