Closed zemse closed 5 months ago
Input code:
fn HEY(x, y) -> (z) { z = addmod(x, y, 3) }
Actual output:
#define macro HEY() = takes(2) returns(1) { // takes: [y, x] 0x3 // [y, x, 0x3] swap1 // [y, 0x3, x] addmod // [z] // returns: [z] }
Expected output:
#define macro HEY() = takes(2) returns(1) { // takes: [y, x] 0x3 // [y, x, 0x3] - swap1 // [y, 0x3, x] + swap2 // [y, x, 0x3] addmod // [z] // returns: [z] }
Thanks for reporting, have confirmed and will fix later this week.
@Philogy Crit in balls :sob:
Fixed in df45004, thanks for reporting!
Input code:
Actual output:
Expected output: