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
ERROR TS1003: Identifier expected. expect(JValue.null instanceof JNull).toBeTruthy("JValue.null should be instanecof JNull"); ~~~~ ERROR TS1003: Identifier expected. public static null: JNull = new JNull();
So, I know that null is a reserved keyword, but typically as an identifier, it's still valid in the right contexts.
null
Thoughts?
The text was updated successfully, but these errors were encountered:
Yeah. This should compile:
class JValue { static get null(): i32 { return 0; } // or static null: i32 = 0 // or null: i32 }
Sorry, something went wrong.
Fix more keywords that can sometimes be identifiers, see #666
27d6efa
Should be fixed by the commit above!
No branches or pull requests
So, I know that
null
is a reserved keyword, but typically as an identifier, it's still valid in the right contexts.Thoughts?
The text was updated successfully, but these errors were encountered: