summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 6ee50251a..2c76f035c 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -4472,9 +4472,6 @@ RefPtr<Module> Linkage::loadSourceModuleImpl(
if (errorCountAfter != errorCountBefore && !isInLanguageServer())
{
_diagnoseErrorInImportedModule(sink);
- }
- if (errorCountAfter && !isInLanguageServer())
- {
// Something went wrong during the parsing, so we should bail out.
return nullptr;
}