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:
#include "global.h" #include "config.h"
DECLARATIONS
PIKECLASS usb { PIKEFUN object foo() { }
PIKEFUN object foo() { } }
Do not try this on a slow connection :-).