]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/source/TextualModuleSource.java
Showing compilation warnings in SCL issue view and editors
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / source / TextualModuleSource.java
index f4e9c7de048cc6347c1c685a60a4777a1aaaf107..4f22022e5f46cd6ba5cb60767fbbb05f425f86bf 100644 (file)
@@ -90,7 +90,7 @@ public abstract class TextualModuleSource implements ModuleSource {
                             listener),
                     moduleName,
                     getJavaReferenceValidator());
-            if(compiler.getErrorLog().isEmpty())
+            if(compiler.getErrorLog().hasNoErrors())
                 return new Success<Module>(compiler.getModule());
             else {
                 LOGGER.error("While compiling " + getModuleName() + ":");