aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/whitequark/bug_473.txt
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-07-02 15:52:35 -0400
committerKevin Newton <kddnewton@gmail.com>2024-07-11 14:25:54 -0400
commitaca42a24783e3a7d17eafb43a031e397bfb70323 (patch)
treeb306703c25c49b84543345536e9f252642cc5a4f /test/prism/snapshots/whitequark/bug_473.txt
parent687be43c79a6fb119e52b09ea561cf958a9aabf2 (diff)
downloadruby-aca42a24783e3a7d17eafb43a031e397bfb70323.tar.gz
[ruby/prism] Expose common flags in inspect output
https://github.com/ruby/prism/commit/d0143865c2
Diffstat (limited to 'test/prism/snapshots/whitequark/bug_473.txt')
-rw-r--r--test/prism/snapshots/whitequark/bug_473.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/prism/snapshots/whitequark/bug_473.txt b/test/prism/snapshots/whitequark/bug_473.txt
index 028b6a517c..fa4c23b8a5 100644
--- a/test/prism/snapshots/whitequark/bug_473.txt
+++ b/test/prism/snapshots/whitequark/bug_473.txt
@@ -1,10 +1,12 @@
@ ProgramNode (location: (1,0)-(1,9))
+├── flags: ∅
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(1,9))
+ ├── flags: ∅
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,9))
- ├── flags: ignore_visibility
+ ├── flags: newline, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
@@ -19,12 +21,14 @@
│ ├── opening_loc: (1,2)-(1,3) = "\""
│ ├── parts: (length: 1)
│ │ └── @ EmbeddedStatementsNode (location: (1,3)-(1,8))
+ │ │ ├── flags: ∅
│ │ ├── opening_loc: (1,3)-(1,5) = "\#{"
│ │ ├── statements:
│ │ │ @ StatementsNode (location: (1,5)-(1,7))
+ │ │ │ ├── flags: ∅
│ │ │ └── body: (length: 1)
│ │ │ └── @ ArrayNode (location: (1,5)-(1,7))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: static_literal
│ │ │ ├── elements: (length: 0)
│ │ │ ├── opening_loc: (1,5)-(1,6) = "["
│ │ │ └── closing_loc: (1,6)-(1,7) = "]"