diff options
Diffstat (limited to 'source/slang/slang-ast-iterator.h')
| -rw-r--r-- | source/slang/slang-ast-iterator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ast-iterator.h b/source/slang/slang-ast-iterator.h index 379de0560..dfb203153 100644 --- a/source/slang/slang-ast-iterator.h +++ b/source/slang/slang-ast-iterator.h @@ -543,7 +543,7 @@ void ASTIterator<CallbackFunc, FilterFunc>::visitDecl(DeclBase* decl) visitDecl(member); } if (auto aggTypeDecl = as<AggTypeDecl>(decl)) - visitExpr(aggTypeDecl->wrappedType.exp); + visitExpr(aggTypeDecl->aliasedType.exp); } for (auto modifier : decl->modifiers) { |
