Revert "Use stack() macro" (actually needs to work this way)

This reverts commit ed36765b42.
This commit is contained in:
Bruce Hill 2024-09-05 15:43:52 -04:00
parent 9f8abd5cd1
commit d99f0271ad

View File

@ -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);