You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added
Syntax errors are added for invalid lambda local semicolon placement.
Lambda locals are now checked for duplicate names.
Destructured parameters are now checked for duplicate names.
Constant{Read,Path,PathTarget}Node#full_name and Constant{Read,Path,PathTarget}Node#full_name_parts are added to walk constant paths for you to find the full name of the constant.
Syntax errors are added when assigning to a numbered parameter.
Node::type is added, which matches the Node#type API.
Magic comments are now parsed as part of the parsing process and a new field is added in the form of ParseResult#magic_comments to access them.
Changed
BREAKING: Call*Node#name methods now return symbols instead of strings.
BREAKING: For loops now have their index value considered as part of the body, so depths of local variable assignments will be increased by 1.
Tilde heredocs now split up their lines into multiple string nodes to make them easier to dedent.