diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-07-13 18:43:50 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-07-13 18:43:50 -0400 |
| commit | 39576466a7bcc545c49a9f17b188cc307a0c9d9c (patch) | |
| tree | 848ead96c07d1038e8467ae93721482b274fbe05 /repl.c | |
| parent | 2e2f68e5823cd3ad057993e0d4504107c6974fa4 (diff) | |
Add ReturnType(ret) so we can more accurately track return values for
`if` statements
Diffstat (limited to 'repl.c')
| -rw-r--r-- | repl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -98,6 +98,7 @@ const TypeInfo *type_to_type_info(type_t *t) { switch (t->tag) { case AbortType: return &$Abort; + case ReturnType: errx(1, "Shouldn't be getting a typeinfo for ReturnType"); case VoidType: return &$Void; case MemoryType: return &$Memory; case BoolType: return &$Bool; |
