>Henrik Grubbstr?m (Lysator) @ Pike (-) developers forum wrote:
>>> It throws the parser into an infinite recursion, and results is rather
>>> cryptic error messages.  It's not high priority, but if anyone knows his
>>> way around that thing, it might be worth checking for this.
>
>>Sounds like you've triggered a bug in the polymorphic function
>>overloader (cf Tools.Standalone.precompile):
>
>It's simpler than that.  Try the following cmod:

Thanks for the test case. I get an infinte recursion in
generate_overload_func_for(), which is the polymorphic
function overloader. I've now added detection of this case.

        /grubba
  • cmod parser and ... Stephen R. van den Berg
    • cmod parser... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
      • Re: cmo... Stephen R. van den Berg
        • Re:... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum

Reply via email to