-
-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
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
ERROR TS2454: Variable is used before being assigned. #2840
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
I have updated my package version from
0.27.23
to0.27.27
.There is now a compiling issue where:
ERROR TS2454: Variable 'zj' is used before being assigned.
Steps to reproduce
Here is the code block:
The fix is simple like:
I do not know if this is intended or not, here is valid Java code for example:
It seems this problem is still occurring, if it helps, this is the full source code to my project using this:
https://github.com/2004scape/Client2/blob/main/assembly/bz2.ts
I've cleaned everything so I don't believe it is me.
@CountBleck @HerrCai0907
Ty!
AssemblyScript version
0.27.27
The text was updated successfully, but these errors were encountered: