sema: set new Decl alignment to 0 for generic call instantiation

This commit is contained in:
Jakub Konka 2022-06-05 17:31:05 +02:00
parent 95966f6fd7
commit 5dade176d8

View File

@ -5800,6 +5800,7 @@ fn instantiateGenericCall(
}
new_decl.val = try Value.Tag.function.create(new_decl_arena_allocator, new_func);
new_decl.@"align" = 0;
new_decl.has_tv = true;
new_decl.owns_tv = true;
new_decl.analysis = .complete;