Bugs: Browse | Submit New | Admin

[#21145] some how misses a few character

Date:
2008-07-10 04:08
Priority:
3
Submitted By:
Roger Pack (rogerdpack)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
some how misses a few character

Detailed description
require 'ruby2ruby'

irb(main):040:0> proc { 3 * 3}.to_sexp
=> [:iter, [:fcall, :proc], nil, [:call, [:lit, 3], :, [:array, [:lit, 3]]]]
irb(main):041:0> proc { 3 + 3}.to_sexp.to_s
=> "iterfcallproccalllit3+arraylit3"
irb(main):042:0> proc { 3 + 3}.to_sexp.pretty_inspect
=> "[:iter, [:fcall, :proc], nil, [:call, [:lit, 3], :+, [:array, [:lit, 3]]]]\n"

the :+ isn't shown in the colored output for some reason.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item