summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-05-01 21:38:24 -0700
committerGitHub <noreply@github.com>2024-05-01 21:38:24 -0700
commitb490414975d9336d112f681a986d116ab8616303 (patch)
tree3c5a887b4b3e4a84d75b163f746517e3db64b182
parent436b22f36c0a0045747c9b058eb8c582150177c6 (diff)
Delete out-of-date assert. (#4079)
-rw-r--r--source/slang/slang-parser.cpp2
1 files changed, 0 insertions, 2 deletions
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<NamespaceDecl>(decl) && decl->parentDecl)
{
- // Presumably we have no modifiers.
- SLANG_ASSERT(modifiers.isEmpty());
return;
}