Actions
Bug #3764
closedRipper incorrectly handle literal keywords (as symbol, eg. :class)
Bug #3764:
Ripper incorrectly handle literal keywords (as symbol, eg. :class)
Description
=begin
Given the following use case of ripper:
pp Ripper.lex(':class')
I'm gettting:
[[[1, 0], :on_symbeg, ":"], [[1, 1], :on_kw, "class"]]
I'm thinking the output should be:
[[[1, 0], :on_symbeg, ":"], [[1, 1], :on_ident, "class"]]
Seems like a bug ?
=end
Actions