Martin Nilsson (provokatör) @ Pike (-) developers forum wrote:
What are you trying to do? ({ i, o })(0); ?
Actually the real call is ({ i, o })(fun) and it could be that fun be 0 in some cases but it could be another thing too. If it's 0, it closes the port. But with 7.2 it didn't produce such an error when fun is 0.
/ Martin Nilsson (provokatör)
Previous text:
2004-04-06 14:10: Subject: Cannot call undefined lfun
Hi,
I got a problem with Pike 7.5 that I don't have with older Pike (at least on 7.2):
Pike v7.5 release 23 running Hilfe v3.5 (Incremental Pike Frontend)
object i = Stdio.Port(8080), o = Stdio.Port(8081); i;
(1) Result: Stdio.Port(ANY:8080)
o;
(2) Result: Stdio.Port(ANY:8081)
Array.map(({ i, o }), 0);
Cannot call undefined lfun `(). HilfeInput:1: HilfeInput()->___HilfeWrapper()
Is it a bug in Pike ?
/ David
/ Brevbäraren