Skip to content

Commit

Permalink
Update lib/prism/ripper_compat.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
  • Loading branch information
noahgibbs and kddnewton authored Feb 8, 2024
1 parent 5eac08f commit 03addf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prism/ripper_compat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def visit_true_node(node)
# Visit a FalseNode.
def visit_false_node(node)
bounds(node.location)
on_var_ref(on_kw(node.slice))
on_var_ref(on_kw("false"))
end

# Visit a FloatNode node.
Expand Down

0 comments on commit 03addf2

Please sign in to comment.