Bugzilla – Bug 2950
Confusing error when calling functions in 0.
Last modified: 2002-04-25 10:48:16 CET
Pike v7.3 release 18 running Hilfe v3.2 (Incremental Pike Frontend)
> object o = 0;
> o->create ("bar");
invalid digits, cannot convert to mpz
Unknown program: create("bar")
Since it's a common error that zero is dereferenced, it should be a more
obvious error here. In the specific case of the create method, a solution
is probably to make it static, which it ought to be anyway, but the problem
applies to other Gmp.bignum methods as well.
Fixed in Pike 7.3 by making all the Gmp,mpx/Gmp.bignum LFUNs static.
You need to
before you can comment on or make changes to this bug.