We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I created an SC with the generator. I added
import { u128, u256 } from "as-bignum/assembly"; // @ts-ignore: decorator @massaExport() export function test1(arg: u128) : u128 { return arg; }
build, it worked then I added a second function
// @ts-ignore: decorator @massaExport() export function test2(arg: u256) : u256 { return arg; }
The build fails with (most relevant part of the trace):
MassaExport Function: generated 'test1' function's wrapper contract to compile assembly/contracts/main.ts Compilation failed: Cannot read properties of undefined (reading '0') stderr FAILURE TypeError: Cannot read properties of undefined (reading '0') at file:///home/jf/workspace/assemblyscript/as/packages/as-transformer/dist/transformers/massaExport.js:42:94
The text was updated successfully, but these errors were encountered:
bilboquet
Successfully merging a pull request may close this issue.
I created an SC with the generator.
I added
build, it worked
then I added a second function
The build fails with (most relevant part of the trace):
The text was updated successfully, but these errors were encountered: