-
Notifications
You must be signed in to change notification settings - Fork 2k
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
prototypes of literals in the REPL #1425
Comments
Really?
FYI:
|
Ah, I see the problem. Literals are not constructed from their respective natives: $;node > 0..constructor === Number true $;coffee coffee> 0.constructor is Number false |
ghost
assigned michaelficarra
Jun 24, 2011
michaelficarra
added a commit
that referenced
this issue
Jul 6, 2011
CoffeeScript.eval. Instead of writing about all the changes and why I made those decisions, I'll just answer any questions in the commit comments, so add a commit comment if you want to question anything. Thanks to @TrevorBurnham and @satyr for their help/contributions. Also, closes #1487. And still no REPL tests...
Fixed by fff4c9c |
michaelficarra
added a commit
that referenced
this issue
Jul 7, 2011
CoffeeScript.eval. Instead of writing about all the changes and why I made those decisions, I'll just answer any questions in the commit comments, so add a commit comment if you want to question anything. Thanks to @TrevorBurnham and @satyr for their help/contributions. Also, closes #1487. And still no REPL tests...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I run the below code in a script, it works fine. But when I run it in the Coffee REPL, the test prototype isn't set.
I'm using CoffeeScript 1.1.1.
The text was updated successfully, but these errors were encountered: