[Ruby2c] [ ruby2c-Bugs-10556 ] Bug in ruby2c

noreply@rubyforge.org noreply at rubyforge.org
Thu May 3 09:54:17 PDT 2007


Bugs item #10556, was opened at 2007-05-03 18:54
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1766&aid=10556&group_id=443

Category: RubyToC
Group: v1.0 beta x
Status: Open
Resolution: None
Priority: 3
Submitted By: Marcin Raczkowski (swistak)
Assigned to: Ryan Davis (zenspider)
Summary: Bug in ruby2c

Initial Comment:
/usr/lib/ruby/gems/1.8/gems/RubyToC-1.0.0.5/lib/ruby_to_ansi_c.rb:38: warning: Object#type is deprecated; use Object#class
NotEmptyError: exp not empty after RubyToAnsiC.process_defn on t(t(:scope, t(:block, t(:if, t(:call, t(:lvar, :n), :<=, t(:arglist, t(:lit, 1), [nil]), nil), t(:return, t(:lit, 1)), nil), t(:return, t(:call, t(:call, nil, :fib, t(:arglist, t(:call, t(:lvar, :n), :-, t(:arglist, t(:lit, 1), [nil]), nil), [nil]), nil), :+, t(:arglist, t(:call, nil, :fib, t(:arglist, t(:call, t(:lvar, :n), :-, t(:arglist, t(:lit, 2), [nil]), nil), [nil]), nil), [nil]), nil)))))
        from /usr/lib/ruby/gems/1.8/gems/ParseTree-1.7.0/lib/sexp_processor.rb:162:in `assert_empty'
        from /usr/lib/ruby/gems/1.8/gems/ParseTree-1.7.0/lib/sexp_processor.rb:240:in `process'
        from /usr/lib/ruby/gems/1.8/gems/RubyToC-1.0.0.5/lib/ruby_to_ansi_c.rb:312:in `process_class'
        from /usr/lib/ruby/gems/1.8/gems/ParseTree-1.7.0/lib/sexp_processor.rb:235:in `process'
        from /usr/lib/ruby/gems/1.8/gems/ParseTree-1.7.0/lib/sexp_processor.rb:292:in `error_handler'
        from /usr/lib/ruby/gems/1.8/gems/ParseTree-1.7.0/lib/sexp_processor.rb:234:in `process'
        from /usr/lib/ruby/gems/1.8/gems/ParseTree-1.7.0/lib/composite_sexp_processor.rb:39:in `process'
        from /usr/lib/ruby/gems/1.8/gems/ParseTree-1.7.0/lib/composite_sexp_processor.rb:38:in `process'
        from (irb):76
        from (irb):75
        from :0


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1766&aid=10556&group_id=443


More information about the ruby2c mailing list