-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Parser: Add missing locations of various AST nodes #13452
Commits on May 10, 2023
-
Add missing location of parameter in proc literal
`foo : Bar` and `baz` in `->(foo : Bar, baz) { }`
Configuration menu - View commit details
-
Copy full SHA for 875aec2 - Browse repository at this point
Copy the full SHA 875aec2View commit details -
Add missing location of splat in multiple assignment
`*foo` in `*foo, bar = 1, 2`
Configuration menu - View commit details
-
Copy full SHA for 8be813e - Browse repository at this point
Copy the full SHA 8be813eView commit details -
Add missing location of argument in named tuple type
`foo: Bar` in `x : {foo: Bar}`
Configuration menu - View commit details
-
Copy full SHA for 6ace14e - Browse repository at this point
Copy the full SHA 6ace14eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 865a0d9 - Browse repository at this point
Copy the full SHA 865a0d9View commit details -
Add location of instance/class variable in proc pointer
`@foo` in `->@foo.x`
Configuration menu - View commit details
-
Copy full SHA for 400447f - Browse repository at this point
Copy the full SHA 400447fView commit details -
`@[Foo]` in `def x(@[Foo] y) end` The location must be set inside `parse_annotation` for when the latter is called directly instead of indirectly via `parse_atomic`. These direct calls to `parse_annotation` are found in `parse_param`, `parse_lib_body_exp`, and `parse_enum_body_expressions`.
Configuration menu - View commit details
-
Copy full SHA for 5e3dab1 - Browse repository at this point
Copy the full SHA 5e3dab1View commit details
Commits on May 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0b1a849 - Browse repository at this point
Copy the full SHA 0b1a849View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8793f4 - Browse repository at this point
Copy the full SHA a8793f4View commit details -
Add location of private/protected method/macro in enum
`private def foo` in `enum Foo; private def foo; 1; end; end`
Configuration menu - View commit details
-
Copy full SHA for 9486fa3 - Browse repository at this point
Copy the full SHA 9486fa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46ea23c - Browse repository at this point
Copy the full SHA 46ea23cView commit details