summaryrefslogtreecommitdiff
path: root/prism/config.yml
AgeCommit message (Collapse)Author
2026-03-06[ruby/prism] Fix error message for block/lambda with `...` argumentEarlopain
They currently complain that the parent method is not forwarding. But the actual problem is that these types of arguments simply don't accept `...` Fixes [Bug #21927] https://github.com/ruby/prism/commit/0aa2363331
2025-11-29[ruby/prism] Revert "Fix invalid Ruby code example in ClassNode comment"Kevin Newton
https://github.com/ruby/prism/commit/b960079559
2025-11-29[ruby/prism] Fix label interpolated stringKevin Newton
https://github.com/ruby/prism/commit/e3e2b1ed04
2025-11-28[ruby/prism] Fix invalid Ruby code example in ClassNode commentqraqras
https://github.com/ruby/prism/commit/5b7456c8f6
2025-11-19[ruby/prism] Add docs for super nodesAlexander Momchilov
https://github.com/ruby/prism/commit/69abcdbb18
2025-11-16Handle deeply nested capture variables syntax errKevin Newton
When there are nested capture variables inside of a pattern match that has an alternation pattern, it is a syntax error. Currently it only adds a syntax error when it is at the top level of the pattern.
2025-11-14[ruby/prism] Reject endless method as a block parameter defaultEarlopain
Fixes [Bug #21661] https://github.com/ruby/prism/commit/475fa46a82
2025-11-14[Feature #21572] Syntax error at capture in alternation patternNobuyoshi Nakada
Should fail even with `-c` option.
2025-10-30[ruby/prism] Add equal_loc to call nodesKevin Newton
In the case of attribute writes, there are use cases where you want to know the location of the = sign. (Internally we actually need this for translation to the writequark AST.) https://github.com/ruby/prism/commit/bfc798a7ec
2025-10-08[ruby/prism] For these special cases, there exists no optional argument ↵Earlopain
type. Since a endless method is started with `=`, there was ambiguity here. We have to simply reject these in all cases. This adds a new error for the following reason: * `def foo arg = nil` is interpreted as a normal method call with optional `arg` without matching `end` * `def foo *arg = nil; end` is interpreted as a endless method call that has body `nil` with extraneous `end` `def foo *arg = nil` is somewhere inbetween and I don't know how to otherwise indicate the error. Now the second case above also shows the newly added error message. Fixes [Bug #21623] https://github.com/ruby/prism/commit/e1910d4492
2025-09-18[ruby/prism] Fix example marker for case statement predicateRandy Stauner
https://github.com/ruby/prism/commit/2ddedf650a
2025-09-12[ruby/prism] Add field documentation for PinnedExpressionNodeHerwin
https://github.com/ruby/prism/commit/0d94291416
2025-09-12[ruby/prism] Add field documentation for PinnedVariableNodeHerwin
https://github.com/ruby/prism/commit/af9047f378
2025-09-12[ruby/prism] Add field documentation for FindPatternNodeHerwin
https://github.com/ruby/prism/commit/a0cc316e91
2025-09-12[ruby/prism] Add field documentation for HashPatternNodeHerwin
https://github.com/ruby/prism/commit/9b7dfcc3e0
2025-09-12[ruby/prism] Add field documentation for ArrayPatternNodeHerwin
https://github.com/ruby/prism/commit/c80c4d958e
2025-09-12[ruby/prism] Add pattern match documentation example to LocalVariableTargetNodeHerwin
https://github.com/ruby/prism/commit/193984b760
2025-09-12[ruby/prism] Add field documentation for MatchRequiredNodeHerwin
https://github.com/ruby/prism/commit/03ca35b3ab
2025-08-05[ruby/prism] Optimize context_terminator with a lookup tableKevin Newton
https://github.com/ruby/prism/commit/483aa89234
2025-07-16[ruby/prism] Improve error handling for missing parentheses after 'not' in ↵ydah
command calls https://github.com/ruby/prism/commit/d9151b8a82
2025-07-16[ruby/prism] Reject `true && not true`Yusuke Endoh
A command-call-like `not true` must be rejected after `&&` and `||`. https://bugs.ruby-lang.org/issues/21337 https://github.com/ruby/prism/commit/0513cf22ad
2025-06-03[ruby/prism] Document ClassNode fields - Adds documentation for the fields ↵harasho
of the `ClassNode`. - Part of #2123 https://github.com/ruby/prism/commit/99615b43ac
2025-03-18[ruby/prism] Add a multiple statements flag to parenthesesKevin Newton
This can get triggered even if the list of statements only contains a single statement. This is necessary to properly support compiling ```ruby defined? (;a) defined? (a;) ``` as "expression". Previously these were parsed as statements lists with single statements in them. https://github.com/ruby/prism/commit/b63b5d67a9
2025-03-18[ruby/prism] Track then keyword on rescue nodesKevin Newton
https://github.com/ruby/prism/commit/bde8ccc038
2025-03-18[ruby/prism] Make xstrings concat syntax errorKevin Newton
https://github.com/ruby/prism/commit/f734350499
2024-12-16[ruby/prism] Add do keyword tracking for While/UntilKevin Newton
https://github.com/ruby/prism/commit/9686897290 Notes: Merged: https://github.com/ruby/ruby/pull/12358
2024-12-04[ruby/prism] Add document CapturePatternNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/1ffd693f9b
2024-12-04[ruby/prism] Add document CaseMatchNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/a78da01ef6
2024-12-04[ruby/prism] Add document CaseNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/2f473b0713
2024-12-04[ruby/prism] Add document ClassVariableAndWriteNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/7be164e0b7
2024-12-03[ruby/prism] Add document CallOperatorWriteNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/f1f8776973
2024-12-03[ruby/prism] Add document CallOrWriteNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/3c01cc7c77
2024-12-03[ruby/prism] Add document CallTargetNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/649ef29c29
2024-12-02Fix example of array pattern that results in a SyntaxErrorydah
``` ❯ ruby --parser=prism --dump=parsetree -e "foo in *1" ruby: -e:1: syntax error found (SyntaxError) > 1 | foo in *1 | ^ unexpected integer, expecting end-of-input 2 | ```
2024-12-02[ruby/prism] Add document BeginNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/b8f40988ab
2024-12-02[ruby/prism] Add document ArrayPatternNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/396c6d4340
2024-12-02[ruby/prism] Add document AliasMethodNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/27f13fabc6
2024-12-02[ruby/prism] Add document ArgumentsNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/1388ca389e
2024-12-02[ruby/prism] Add document BlockArgumentNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/b1c2f323f9
2024-12-02[ruby/prism] Add document BlockLocalVariableNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/8353be1dfe
2024-12-02[ruby/prism] Add document BlockNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/9c0ef71449
2024-12-02[ruby/prism] Add document BlockParameterNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/480897eccf
2024-12-02[ruby/prism] Add document BlockParametersNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/75d1bde6cc
2024-12-02[ruby/prism] Add document CallAndWriteNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/d1570f2e06
2024-12-02[ruby/prism] Add document CallNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/145ae8f993
2024-10-10[ruby/prism] Update rescue node docStan Lo
Its `exception` field was renamed to `reference` in #1204 but the documentation was not updated. https://github.com/ruby/prism/commit/a477607ba2
2024-10-07[ruby/prism] Handle invalid commas in arguments, parameters, and arraysKevin Newton
https://github.com/ruby/prism/commit/023e894b74
2024-10-01Resync to latest PrismKevin Newton
Notes: Merged: https://github.com/ruby/ruby/pull/11753
2024-09-30Sync Prism with latest main branchKevin Newton
Notes: Merged: https://github.com/ruby/ruby/pull/11741
2024-09-30[ruby/prism] Require a delimiter for singleton classesKevin Newton
https://github.com/ruby/prism/commit/fd58d6a9ea