summaryrefslogtreecommitdiffstats
path: root/source/core
diff options
context:
space:
mode:
authorHarsh Aggarwal (NVIDIA) <haaggarwal@nvidia.com>2025-06-05 13:44:06 +0530
committerGitHub <noreply@github.com>2025-06-05 08:14:06 +0000
commit624770a1e1ba7747cd7b2f5e0def1d677e931c8c (patch)
treec7bdb4e2087c8055d4b3ef1d9dbc79c176ff3ef3 /source/core
parent0c4c63b4a575f45f5dcf03f26b78becd36b0efca (diff)
Fix crash when loading modules with syntax errors (#6993) (#7288)
* Fix#6993 - Emit Diagnostic Warning and Fix SIGSEGV * Update external/slang-rhi submodule * Add checks for valid stage names for paq in SemanticsVisitor check * format code --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
Diffstat (limited to 'source/core')
-rw-r--r--source/core/slang-dictionary.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/core/slang-dictionary.h b/source/core/slang-dictionary.h
index d35255a8c..b3aa354d2 100644
--- a/source/core/slang-dictionary.h
+++ b/source/core/slang-dictionary.h
@@ -339,6 +339,7 @@ protected:
DictionaryType dict;
private:
+ void init() {} // Base case for recursion
template<typename... Args>
void init(const T& v, Args... args)
{
@@ -406,6 +407,8 @@ public:
template<typename T>
class HashSet : public HashSetBase<T, Dictionary<T, _DummyClass>>
{
+public:
+ using HashSetBase<T, Dictionary<T, _DummyClass>>::HashSetBase;
};
template<typename TKey, typename TValue>