ngtzeyang (TzeYang Ng)
Login: ngtzeyang
Email: ngty77@gmail.com
Registered on: 08/30/2010
Last sign in: 11/11/2011
Issues
11/11/2011
02:17 PM
Ruby
Bug #5614 (Closed): Proc#source_location & #inspect shows wrong line number when chained
When procs are chained, the line number for each proc is mis-calculated to be the 1st proc's line-number. Eg. class Foo def bar(&blk) pp blk.source_location self end end Foo.new.bar d...
ngtzeyang (TzeYang Ng)
08/30/2010
01:31 PM
Ruby
Bug #3764: Ripper incorrectly handle literal keywords (as symbol, eg. :class)
=begin ruby -v # >> ruby 1.9.1p376 (2009-12-07 revision 26041) [x86_64-linux] =end
ngtzeyang (TzeYang Ng)
10:46 AM
Ruby
Bug #3764 (Rejected): Ripper incorrectly handle literal keywords (as symbol, eg. :class)
=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],...
ngtzeyang (TzeYang Ng)
01:30 PM
Ruby
Bug #3765 (Rejected): Ripper::Lexer missed out tokens after '=>' operator
=begin Given the following ripper use case: pp Ripper.lex(':x => 1') I'm getting: >> [[[1, 0], :on_symbeg, ":"], >> [[1, 1], :on_ident, "x"], >> [[1, 2], :on_sp, " "], >> [[1, 3], :on_op, "=>"]] I'm thinking th...
ngtzeyang (TzeYang Ng)
Also available in: Atom
Loading...