Skip to content

Commit 06a89c3

Browse files
committed
Fix up method naming in ripper translation
1 parent 64e8190 commit 06a89c3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/prism/translation/ripper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ def visit_call_node(node)
607607
on_binary(receiver, node.name, value)
608608
else
609609
bounds(node.message_loc)
610-
message = on_ident(node.message)
610+
message = visit_token(node.message)
611611

612612
if node.variable_call?
613613
on_vcall(message)

test/prism/ripper_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class RipperTest < TestCase
2424
constants.txt
2525
dos_endings.txt
2626
embdoc_no_newline_at_end.txt
27-
endless_methods.txt
2827
hashes.txt
2928
heredocs_leading_whitespace.txt
3029
heredocs_nested.txt

0 commit comments

Comments
 (0)