diff options
| author | gingerBill <bill@gingerbill.org> | 2024-09-11 12:01:01 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-09-11 12:01:01 +0100 |
| commit | 9b06ea5bfd57c386194438a6a1afd34aa18bb229 (patch) | |
| tree | 4ada0133730580393eb14c0a8c48391e0f071a6e /src/check_expr.cpp | |
| parent | b379d25a12b4eee1e48d18f7ed5f65a018086f5d (diff) | |
Fix #4229 for edge case `os.Error`/`os.Errno` legacy bodge
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 27ba2448e..45c3e9a3c 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -4602,7 +4602,7 @@ gb_internal void convert_to_typed(CheckerContext *c, Operand *operand, Type *tar (operand->value.kind == ExactValue_Integer || operand->value.kind == ExactValue_Float)) { operand->mode = Addressing_Value; - target_type = t_untyped_nil; + // target_type = t_untyped_nil; operand->value = empty_exact_value; update_untyped_expr_value(c, operand->expr, operand->value); break; |