diff options
| author | gingerBill <bill@gingerbill.org> | 2024-01-28 17:34:32 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-01-28 17:34:32 +0000 |
| commit | 621b3c7829156317ccd6ca890fd9f80410446d1e (patch) | |
| tree | 7eb442ad871feb7d9dd907c421303860b6605c44 | |
| parent | 68df35b378d59f9813f5af81e61080c5f1b20e23 (diff) | |
Add missing clone for `Struct_Type`
| -rw-r--r-- | core/odin/ast/clone.odin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/odin/ast/clone.odin b/core/odin/ast/clone.odin index f1d3e08b8..4e7f14580 100644 --- a/core/odin/ast/clone.odin +++ b/core/odin/ast/clone.odin @@ -314,6 +314,7 @@ clone_node :: proc(node: ^Node) -> ^Node { case ^Struct_Type: r.poly_params = auto_cast clone(r.poly_params) r.align = clone(r.align) + r.field_align = clone(r.field_align) r.fields = auto_cast clone(r.fields) case ^Union_Type: r.poly_params = auto_cast clone(r.poly_params) |