Skip to content

Support for implicit rest arguments in array patterns for repl_type_completor#302

Merged
mame merged 1 commit intoruby:masterfrom
alpaca-tc:support_implicit_rest_arguments
Apr 16, 2025
Merged

Support for implicit rest arguments in array patterns for repl_type_completor#302
mame merged 1 commit intoruby:masterfrom
alpaca-tc:support_implicit_rest_arguments

Conversation

@alpaca-tc
Copy link
Contributor

Fix the following error:

Error: test: scenario/patterns/array_pat.rb(ScenarioCompiler::ScenarioTest): NoMethodError: undefined method 'expression' for an instance of Prism::ImplicitRestNode

lib/typeprof/core/ast/pattern.rb:8:in 'TypeProf::Core::AST::ArrayPatternNode#initialize'

…ompletor

Fix the following error:

```
Error: test: scenario/patterns/array_pat.rb(ScenarioCompiler::ScenarioTest): NoMethodError: undefined method 'expression' for an instance of Prism::ImplicitRestNode

lib/typeprof/core/ast/pattern.rb:8:in 'TypeProf::Core::AST::ArrayPatternNode#initialize'
```
@mame mame merged commit 774ec0b into ruby:master Apr 16, 2025
7 checks passed
@mame
Copy link
Member

mame commented Apr 16, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants