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
ASC does not diagnose for these code which will diagnose An interface property cannot have an initializer. in TS
An interface property cannot have an initializer.
interface NS { v:string = "" } class T implements NS { v:string = ""; } new T();
npm run build
v0.27.x
The text was updated successfully, but these errors were encountered:
fix: add diagnose when initializing field in interface
73e93d2
Fixes: AssemblyScript#2795
212a88a
Successfully merging a pull request may close this issue.
Bug description
ASC does not diagnose for these code which will diagnose
An interface property cannot have an initializer.
in TSSteps to reproduce
npm run build
AssemblyScript version
v0.27.x
The text was updated successfully, but these errors were encountered: