diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-11 22:50:03 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-11 22:50:03 -0400 |
| commit | 0f7cf28af1b204d0f979dd7b97133329f16ffe55 (patch) | |
| tree | d1674b27d5e93e08a35c81988f35fbfec11f10e3 /compile.c | |
| parent | 62408e4efcfac85d4c835242391aae761c2313eb (diff) | |
Fix threads and integersoptionals
Diffstat (limited to 'compile.c')
| -rw-r--r-- | compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -324,6 +324,8 @@ static CORD optional_var_into_nonnull(binding_t *b) case IntType: return CORD_all(b->code, ".i"); case StructType: + if (t == THREAD_TYPE) + return b->code; return CORD_all(b->code, ".value"); default: return b->code; |
