Branch: Tag:

2022-07-15

2022-07-15 08:54:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Retain remap state when A - (B|C).

Fixes lost state mapping for push_type_attribute().

5245:    simple_describe_type(tmp2);    fprintf(stderr, "\nop: 0x%04x\n", op);    } -  ret = low_type_binop(op, tmp, tmp2, NULL, aflags, bflags, 0); +  ret = low_type_binop(op, tmp, tmp2, remap, aflags, bflags, +  remap_flags | PT_FLAG_REMAP_INHIBIT);    if (remap_flags & PT_FLAG_REMAP_TRACE) {    fprintf(stderr, "tmp op tmp2: ");    simple_describe_type(ret);