Closed
Description
Bug description
mycode:
export class A{
private member_1_: typeOne = null;
public get member_1(): typeOne{
return 0;
}
}
const testClass = new A();
testClass.member_1.hello();
run:
asc xxx.ts --disableWarning --noEmit
result:
Whoops, the AssemblyScript compiler has crashed during compile :-(
Here is the stack trace hinting at the problem, perhaps it's useful?
AssertionError: assertion failed
If you see where the error is, feel free to send us a pull request. If not,
please let us know: https://github.com/AssemblyScript/assemblyscript/issues
Thank you!
expected behavior:
give me error message about my codes
Steps to reproduce
1.copy my codes to a file.
2. run asc to compile this file
AssemblyScript version
v0.27.18