#734: Mustache fails on call to render. ----------------------------------------+----------------------------------- Reporter: larry@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 1.0 Component: MacRuby | Keywords: mustache #reduction ----------------------------------------+----------------------------------- Comment(by lsansonetti@…): The problem here is that the compiler compiles a recursive call to the current function, bypassing the dispatcher logic, as an optimization. An appropriate solution would be to introduce a global variable (as we already do to optimize things like Fixnum#+), change it when the method is re-defined and check before calling ourself recursively. -- Ticket URL: <http://www.macruby.org/trac/ticket/734#comment:8> MacRuby <http://macruby.org/>