diff --git a/source/slang/slang-parser.cpp b/source/slang/slang-parser.cpp index ed579e96d9..f5a217354a 100644 --- a/source/slang/slang-parser.cpp +++ b/source/slang/slang-parser.cpp @@ -4213,13 +4213,8 @@ namespace Slang case ASTNodeType::SubscriptDecl: case ASTNodeType::PropertyDecl: case ASTNodeType::AssocTypeDecl: - case ASTNodeType::TypeAliasDecl: - case ASTNodeType::TypeDefDecl: case ASTNodeType::VarDecl: case ASTNodeType::LetDecl: - case ASTNodeType::StructDecl: - case ASTNodeType::ClassDecl: - case ASTNodeType::EnumDecl: case ASTNodeType::GenericDecl: case ASTNodeType::ConstructorDecl: return true;