提交 1ce8fa8b 编写于 作者: S Skylot

fix: don't apply types if search failed (#840)

上级 1bb90233
...@@ -67,9 +67,10 @@ public class TypeSearch { ...@@ -67,9 +67,10 @@ public class TypeSearch {
LOG.warn("Multi-variable search failed in {}", mth); LOG.warn("Multi-variable search failed in {}", mth);
} }
} }
if (searchSuccess) {
boolean applySuccess = applyResolvedVars(); return applyResolvedVars();
return searchSuccess && applySuccess; }
return false;
} }
private boolean applyResolvedVars() { private boolean applyResolvedVars() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册