Compilation errors when enabling debug
in WriterContext.extract
#805
Labels
Milestone
debug
in WriterContext.extract
#805
If we turn on
debug
mode in theWriterContext.extract
function, incorrect FunC code will be generated. That feature might be quite useful for the compiler development, in particular for differential testing between backends (#559).Steps to reproduce
tact/src/generator/Writer.ts
Line 70 in 12def54
Problem description
The issue appears because of return types mismatch between these functions:
$Test$_fun_reply
and$Test$_fun_reply$not_mut
.Generated code:
The relevant code in backend:
tact/src/generator/writers/writeFunction.ts
Line 606 in 12def54
The text was updated successfully, but these errors were encountered: