summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-parser.cpp')
-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;
}