[MacRuby] #1020: RSS::Maker is throwing a TypeError
MacRuby
ruby-noreply at macosforge.org
Sat Dec 4 17:44:27 PST 2010
#1020: RSS::Maker is throwing a TypeError
-----------------------------+----------------------------------------------
Reporter: nick@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
-----------------------------+----------------------------------------------
Comment(by nick@…):
I tried a naive patch to RSS::Utils#get_file_and_line_from_caller to cope
with nil:
{{{
return ["", 0] if caller[i] == nil
}}}
and continued to trace the problems through. We now get this:
{{{
superclass mismatch for class RSS::Maker::RSS10::TaxonomyTopics
(TypeError)
}}}
which seems to stem from '''rss/maker/taxonomy.rb''', on line 17 (
https://github.com/MacRuby/MacRuby/blob/trunk/lib/rss/maker/taxonomy.rb#L17
). I've checked against ruby 1.9.2 and can't see anything significantly
different in terms of the generated class hierarchy, contents of variables
etc. I'm not entirely sure where to go from here, as the whole RSS code is
a bit of a spaghetti mess of meta-programming.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1020#comment:3>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list