Open
Description
Are you using the latest released (or pre-released, a.k.a. "next") version?
- I'm using the latest Tact version
Tact source code
import "@stdlib/deploy";
asm fun myCode(): Cell { "MYCODE" }
contract Sample {
mycode: Cell;
init() {
self.mycode = myCode();
}
}
Relevant Tact/build system log output
yarn run v1.22.22
$ tact --config ./tact.config.json
💼 Compiling project sample ...
> Sample: tact compiler
> Sample: func compiler
Func compilation error: /home/b4cksl4sh/TON-Studio/tact-template/sources/output/sample_Sample.code.fc:13:47: error: string extends past end of line
cell $global_myCode() impure asm """"MYCODE"""";
💥 Compilation failed. Skipping packaging
error Command failed with exit code 30.
What happened?
No response
What did you expect?
As asm functions are declared in funC in "", it might be the common mistake. Maybe tact compiler should check that? Or change the format of asm functions, because static analizers are mad at them.
Steps to reproduce
No response
How do you run Tact?
tact-template
Anything else?
No response