summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-05 16:39:38 -0500
committerGitHub <noreply@github.com>2017-11-05 16:39:38 -0500
commit296e89ca4f3d6d99126bf2ee59666bc946add431 (patch)
treebff41e36c9b6843d83a5ca5e83645310be6687f3 /source/slang/slang.cpp
parentc6fb1de9547bd24a693915b758cc35499f1d949f (diff)
parentff7c46a11787ca6ecebf0a224772a41efef33fc0 (diff)
Merge pull request #243 from csyonghe/master
Adding associated types
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index ecee38777..1cda8e7d0 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -300,6 +300,7 @@ int CompileRequest::executeActionsInner()
// Generate initial IR for all the translation
// units, if we are in a mode where IR is called for.
generateIR();
+
if (mSink.GetErrorCount() != 0)
return 1;