From 624770a1e1ba7747cd7b2f5e0def1d677e931c8c Mon Sep 17 00:00:00 2001 From: "Harsh Aggarwal (NVIDIA)" Date: Thu, 5 Jun 2025 13:44:06 +0530 Subject: 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 --- source/core/slang-dictionary.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/core') 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 void init(const T& v, Args... args) { @@ -406,6 +407,8 @@ public: template class HashSet : public HashSetBase> { +public: + using HashSetBase>::HashSetBase; }; template -- cgit v1.2.3