From b490414975d9336d112f681a986d116ab8616303 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 1 May 2024 21:38:24 -0700 Subject: Delete out-of-date assert. (#4079) --- source/slang/slang-parser.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/slang/slang-parser.cpp') diff --git a/source/slang/slang-parser.cpp b/source/slang/slang-parser.cpp index 23ee5e29d..ad0398e2f 100644 --- a/source/slang/slang-parser.cpp +++ b/source/slang/slang-parser.cpp @@ -4456,8 +4456,6 @@ namespace Slang // Or add any modifiers if (as(decl) && decl->parentDecl) { - // Presumably we have no modifiers. - SLANG_ASSERT(modifiers.isEmpty()); return; } -- cgit v1.2.3