diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-25 14:57:58 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-25 14:57:58 -0500 |
| commit | 3e23ea6a67e4bbfea4dc667beb6285a90dff2877 (patch) | |
| tree | 15d537f0da478e5281d164af9a4696fa37d5e5f1 /types.c | |
| parent | 369c83e8c517116de560643c2c9bdcedfb3850dc (diff) | |
Improve handling of update assignments
Diffstat (limited to 'types.c')
| -rw-r--r-- | types.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -135,7 +135,7 @@ bool type_is_a(type_t *t, type_t *req) return false; } -static type_t *non_optional(type_t *t) +type_t *non_optional(type_t *t) { return t->tag == OptionalType ? Match(t, OptionalType)->type : t; } |
