mirror of
https://github.com/ziglang/zig.git
synced 2026-02-01 20:23:38 +00:00
sema: set new Decl alignment to 0 for generic call instantiation
This commit is contained in:
parent
95966f6fd7
commit
5dade176d8
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user