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 <[email protected]>
  • Loading branch information
noahgibbs and kddnewton authored Feb 8, 2024
1 parent bce0a5c commit 6e2bf9c
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 @@ -200,7 +200,7 @@ def visit_parameters_node(node)
# Visit a RequiredParameterNode.
def visit_required_parameter_node(node)
bounds(node.location)
on_ident(node.name.to_s)
on_ident(node.name.name)
end

# Visit a BreakNode.
Expand Down

0 comments on commit 6e2bf9c

Please sign in to comment.