aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-08-05 15:07:06 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-08-05 15:07:06 +0100
commiteae43f122556f7219dc05a8fb7674a122ad977ba (patch)
treefc2cb57e456d500c253d778e0a82c04564a4ec35 /src/checker.cpp
parentf8d24923fdd701c0a08b8ffb7200cebdc9820b76 (diff)
parentaccdd7c2af4c2b9f4a0b923a47df4c2eb6074b0a (diff)
Merge branch 'master' into bill/utf16-strings
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 20da5b19b..e9fa792f3 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -6804,7 +6804,11 @@ gb_internal void check_parsed_files(Checker *c) {
for_array(i, c->info.definitions) {
Entity *e = c->info.definitions[i];
if (e->kind == Entity_TypeName && e->type != nullptr && is_type_typed(e->type)) {
- (void)type_align_of(e->type);
+ if (e->TypeName.is_type_alias) {
+ // Ignore for the time being
+ } else {
+ (void)type_align_of(e->type);
+ }
} else if (e->kind == Entity_Procedure) {
DeclInfo *decl = e->decl_info;
ast_node(pl, ProcLit, decl->proc_lit);