Skip to content

Commit

Permalink
Fix issue with Or_Else_Expr
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielGavin committed Aug 17, 2024
1 parent 31d5bb9 commit e2f4f96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/clone.odin
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ clone_node :: proc(node: ^ast.Node, allocator: mem.Allocator, unique_strings: ^m
r.name = clone_type(r.name, allocator, unique_strings)
r.type = clone_type(r.type, allocator, unique_strings)
r.bit_size = clone_type(r.bit_size, allocator, unique_strings)
case ^Or_Else_Expr:
r.x = clone_type(r.x, allocator, unique_strings)
r.y = clone_type(r.y, allocator, unique_strings)
case:
}

Expand Down

0 comments on commit e2f4f96

Please sign in to comment.