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
Describe the bug Error builtin and its subclasses don't output "name" property correctly
Error
To Reproduce new Error().name; should show "Error", instead it shows Uncaught "Error": ""
new Error().name;
Uncaught "Error": ""
also new SyntaxError().name; should show "SyntaxError", instead it shows Uncaught "SyntaxError": ""
new SyntaxError().name;
Uncaught "SyntaxError": ""
Environment
rustc -V
Additional context
The text was updated successfully, but these errors were encountered:
@croraf I think #749 should fix this issue, right? since new Error() or Error() just throws the error immediately
new Error()
Error()
Sorry, something went wrong.
I don't know if it will fix it, but if "new Error()" throws immediately, we should definitely prioritize that PR, and then check this again.
Yeah, #749 will fix this.
RageKnify
Successfully merging a pull request may close this issue.
Describe the bug
Error
builtin and its subclasses don't output "name" property correctlyTo Reproduce
new Error().name;
should show "Error", instead it shows
Uncaught "Error": ""
also
new SyntaxError().name;
should show "SyntaxError", instead it shows
Uncaught "SyntaxError": ""
Environment
rustc -V
]Additional context
The text was updated successfully, but these errors were encountered: