Skip to content
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

Dont throw a typeError in the shell when evaluating code that results in a symbol #1420

Open
p-bakker opened this issue Nov 15, 2023 · 0 comments
Labels
bug Issues considered a bug

Comments

@p-bakker
Copy link
Collaborator

When evaluating code in the Shell, the result is coerced into a String. coercing a Symbol to a String however is to throw a TypeError according to the spec.

This leads to confusing behavior in the Shell, so instead of trying to coerce the Symbol into a String, the Shell should call the .toString() method on it

@p-bakker p-bakker added the bug Issues considered a bug label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues considered a bug
Projects
None yet
Development

No branches or pull requests

1 participant