[ruby/prism] Blocks & kwargs are not valid in index assignments
Ruby feature: https://bugs.ruby-lang.org/issues/20952 https://github.com/ruby/prism/commit/e612df5f36
This commit is contained in:
parent
a46fe5c807
commit
39d0ebb6e8
@ -19,7 +19,11 @@ module Prism
|
|||||||
end
|
end
|
||||||
|
|
||||||
if RUBY_VERSION < "3.4"
|
if RUBY_VERSION < "3.4"
|
||||||
filepaths -= ["it_with_ordinary_parameter.txt"]
|
filepaths -= [
|
||||||
|
"it_with_ordinary_parameter.txt",
|
||||||
|
"block_args_in_array_assignment.txt",
|
||||||
|
"keyword_args_in_array_assignment.txt"
|
||||||
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
if RUBY_VERSION < "3.4" || RUBY_RELEASE_DATE < "2024-07-24"
|
if RUBY_VERSION < "3.4" || RUBY_RELEASE_DATE < "2024-07-24"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user