diff options
| author | gingerBill <bill@gingerbill.org> | 2024-04-10 12:32:26 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-04-10 12:32:26 +0100 |
| commit | 3dfd61dd4f1aec7525a8d6820c9c977f6a3ed14e (patch) | |
| tree | 450c85b985d9305587abb457356864bb46d591f6 /src | |
| parent | 25f781d64b37995d98b2d60f2a6dbef0088d94ee (diff) | |
Make `intrinsics.overflow_*` NOT `#optional_ok`
Diffstat (limited to 'src')
| -rw-r--r-- | src/check_builtin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index d8fad487b..c3c217ec7 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -4089,8 +4089,8 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As } } - operand->mode = Addressing_OptionalOk; - operand->type = default_type(x.type); + operand->mode = Addressing_Value; + operand->type = make_optional_ok_type(default_type(x.type)); } break; |