diff options
Diffstat (limited to 'source/compiler-core/slang-artifact-util.cpp')
| -rw-r--r-- | source/compiler-core/slang-artifact-util.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/compiler-core/slang-artifact-util.cpp b/source/compiler-core/slang-artifact-util.cpp index 00884c96f..7420f6843 100644 --- a/source/compiler-core/slang-artifact-util.cpp +++ b/source/compiler-core/slang-artifact-util.cpp @@ -83,6 +83,12 @@ static bool _checkRecursive(ArtifactUtil::FindStyle findStyle) return false; } + /* We currently can't write out diagnostics, so for now we'll say they are insignificant */ + if (isDerivedFrom(desc.payload, ArtifactPayload::Diagnostics)) + { + return false; + } + return true; } |
