From b60d57ea730725db9f915dfac0ed983e4d090e84 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 31 Oct 2019 15:35:19 +0300 Subject: [PATCH] Fix compilation of IDEA plugin --- .../src/main/java/org/teavm/idea/debug/TeaVMValue.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/idea/plugin/src/main/java/org/teavm/idea/debug/TeaVMValue.java b/tools/idea/plugin/src/main/java/org/teavm/idea/debug/TeaVMValue.java index c1a7972a6..ffde5800f 100644 --- a/tools/idea/plugin/src/main/java/org/teavm/idea/debug/TeaVMValue.java +++ b/tools/idea/plugin/src/main/java/org/teavm/idea/debug/TeaVMValue.java @@ -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; + }); } }); });