summaryrefslogtreecommitdiffstats
path: root/source/compiler-core/slang-artifact-impl.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2023-04-12 12:06:41 -0400
committerGitHub <noreply@github.com>2023-04-12 12:06:41 -0400
commiteda9dd33647b271dd5ea5256e87cb23ad269b19f (patch)
treefb869c983b5eda00794606caeb6334ac176d359a /source/compiler-core/slang-artifact-impl.cpp
parent4e9ca28a71dca90e19a15b2103bdc3d0db6ffd9c (diff)
Artifact Container (#2783)
* #include an absolute path didn't work - because paths were taken to always be relative. * WIP simplifying artifact interface. * Use ContainedKind. * Remove LazyCastableList. Use ContainedKind for find. * Remove ICastableList. * Remove need for ICastableList. * Remove IArtifactContainer. * Small fixes. * Small improvements around Artifact. * Make explicit find is for *representations* that can cast. Fix bug in handling casting in lookup. * Made associated items artifacts too. * Small fixes. * Small improvements around writing a container. * WIP artifact container format. * Make the root a special case. * Special case if the artifact doesn't have children/associated.
Diffstat (limited to 'source/compiler-core/slang-artifact-impl.cpp')
-rw-r--r--source/compiler-core/slang-artifact-impl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/compiler-core/slang-artifact-impl.cpp b/source/compiler-core/slang-artifact-impl.cpp
index 9ff67603a..d13421880 100644
--- a/source/compiler-core/slang-artifact-impl.cpp
+++ b/source/compiler-core/slang-artifact-impl.cpp
@@ -64,7 +64,8 @@ void Artifact::_requireChildren()
{
const auto res = expandChildren();
SLANG_UNUSED(res);
- SLANG_ASSERT(SLANG_SUCCEEDED(res));
+
+ SLANG_ASSERT(SLANG_SUCCEEDED(res) || res == SLANG_E_NOT_IMPLEMENTED);
}
}