tact icon indicating copy to clipboard operation
tact copied to clipboard

Tact produces invalid FunC code for modifying load function

Open Gusarich opened this issue 1 year ago • 1 comments

This line:

let x: Int = beginCell().storeUint(0, 1).endCell().beginParse().loadUint(1);

Produces this FunC code:

int $x = begin_parse(end_cell(store_uint(begin_cell(), 0, 1)))~load_uint(1);

Which results error:

error: lvalue expected before `~load_uint`

Gusarich avatar Mar 29 '24 15:03 Gusarich

Possible duplicate of #118

0kenx avatar Apr 07 '24 20:04 0kenx