mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-28 21:58:19 +00:00
Allow for optional ok for return
This commit is contained in:
@@ -3920,7 +3920,8 @@ bool check_unpack_arguments(CheckerContext *ctx, Entity **lhs, isize lhs_count,
|
||||
Operand ok = o;
|
||||
val.mode = Addressing_Value;
|
||||
ok.mode = Addressing_Value;
|
||||
ok.type = t_bool;
|
||||
// ok.type = t_bool;
|
||||
ok.type = t_untyped_bool;
|
||||
array_add(operands, val);
|
||||
array_add(operands, ok);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user