summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ast-iterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ast-iterator.h')
-rw-r--r--source/slang/slang-ast-iterator.h2
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)
{