mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[ruby/prism] Fix example marker for case statement predicate
https://github.com/ruby/prism/commit/2ddedf650a
This commit is contained in:
parent
8073cd4ffa
commit
ff5105f7c8
@ -1800,7 +1800,7 @@ nodes:
|
||||
Represents the predicate of the case statement. This can be either `nil` or any [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
|
||||
|
||||
case true; when false; end
|
||||
^^^^
|
||||
^^^^
|
||||
- name: conditions
|
||||
type: node[]
|
||||
kind: WhenNode
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user