-
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
[CS2] Throw an error for ambiguous get
or set
keywords or function calls
#4484
Commits on Apr 4, 2017
-
Throw an error for ambiguous
get
orset
function calls or ES5 get……ter/setter keywords, to warn the user to use parentheses if they intend a function call (or to inform them that `get` or `set` cannot be used as a keyword)
Configuration menu - View commit details
-
Copy full SHA for 5596dac - Browse repository at this point
Copy the full SHA 5596dacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 725fe8e - Browse repository at this point
Copy the full SHA 725fe8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcf7dda - Browse repository at this point
Copy the full SHA fcf7ddaView commit details
Commits on Apr 5, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ed4c828 - Browse repository at this point
Copy the full SHA ed4c828View commit details -
Throw an error if get or set are used as keywords before what looks l…
…ike a function or method with an interpolated/dynamic name
Configuration menu - View commit details
-
Copy full SHA for 962374a - Browse repository at this point
Copy the full SHA 962374aView commit details
Commits on Apr 6, 2017
-
Allow
get
orset
parentheses-less function calls when first argum……ent is a string without a colon (so a plain string, not a property accessor)
Configuration menu - View commit details
-
Copy full SHA for 2d1addf - Browse repository at this point
Copy the full SHA 2d1addfView commit details -
Revert "Allow
get
orset
parentheses-less function calls when fir……st argument is a string without a colon (so a plain string, not a property accessor)" This reverts commit 2d1addf.
Configuration menu - View commit details
-
Copy full SHA for a7447d5 - Browse repository at this point
Copy the full SHA a7447d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d25907 - Browse repository at this point
Copy the full SHA 4d25907View commit details -
Merge branch '2' into get-set-warning
# Conflicts: # lib/coffeescript/lexer.js
Configuration menu - View commit details
-
Copy full SHA for 7129f83 - Browse repository at this point
Copy the full SHA 7129f83View commit details -
No longer throw an error on
get
orset
function calls to objects ……with dynamic property names (introduces a way to circumvent our check for trying to avoid the `get` or `set` keywords, but not worth the complications for this tiny edge case)
Configuration menu - View commit details
-
Copy full SHA for 0576eb3 - Browse repository at this point
Copy the full SHA 0576eb3View commit details