summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/rescue.txt
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-04-26 13:23:09 -0400
committergit <svn-admin@ruby-lang.org>2024-04-26 18:10:42 +0000
commit6a296089c61223ca040e6dc3b92d9bbd1c62c309 (patch)
tree5570921fa8a5646f392f49b496a05590c5a498bb /test/prism/snapshots/rescue.txt
parent148518baa06c50669de98d078f743a594ffe2fba (diff)
[ruby/prism] Add a flag on returns when they are redundant
https://github.com/ruby/prism/commit/450541d2c3
Diffstat (limited to 'test/prism/snapshots/rescue.txt')
-rw-r--r--test/prism/snapshots/rescue.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/prism/snapshots/rescue.txt b/test/prism/snapshots/rescue.txt
index 57cafde5a6..2bdbfdaff3 100644
--- a/test/prism/snapshots/rescue.txt
+++ b/test/prism/snapshots/rescue.txt
@@ -88,6 +88,7 @@
├── @ RescueModifierNode (location: (10,0)-(10,17))
│ ├── expression:
│ │ @ ReturnNode (location: (10,0)-(10,6))
+ │ │ ├── flags: ∅
│ │ ├── keyword_loc: (10,0)-(10,6) = "return"
│ │ └── arguments: ∅
│ ├── keyword_loc: (10,7)-(10,13) = "rescue"