diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-05 15:43:52 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-05 15:43:52 -0400 |
| commit | d99f0271ad184e67c3215a63c786f05a218c1c1e (patch) | |
| tree | 30de73eb3dd320e8dc8bf95ef752694f3aa1011b | |
| parent | 9f8abd5cd1a519acc8259f1a3be058c0767b7129 (diff) | |
Revert "Use stack() macro" (actually needs to work this way)
This reverts commit ed36765b4239d7af89a06773ad4ff1154d5344be.
| -rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1253,7 +1253,7 @@ CORD expr_as_text(env_t *env, CORD expr, type_t *t, CORD color) { switch (t->tag) { case MemoryType: return CORD_asprintf("Memory$as_text(stack(%r), %r, &Memory$info)", expr, color); - case BoolType: return CORD_asprintf("Bool$as_text(stack(%r), %r, &Bool$info)", expr, color); + case BoolType: return CORD_asprintf("Bool$as_text((Bool_t[1]){%r}, %r, &Bool$info)", expr, color); case CStringType: return CORD_asprintf("CString$as_text(stack(%r), %r, &CString$info)", expr, color); case BigIntType: case IntType: { CORD name = type_to_cord(t); |
