This project is closed and read-only.
Actions
Backport #5753
closed[Ripper] on_magic_comment doesn't pass proper value
Backport #5753:
[Ripper] on_magic_comment doesn't pass proper value
Status:
Closed
Assignee:
Description
=begin
$ ruby -v -rripper -e 'r = Ripper.new("# -- foo: bar --"); def r.on_magic_comment(*x);p x;end;r.parse'
["foo", false]
Should be ((%["foo", "bar"]%)).
Affects also 1.9.
=end
Actions