[DGD]typechecking=2

Felix A. Croes felix at dworkin.nl
Sun Oct 10 22:18:40 CEST 1999


Kevin Carpenter <kevinc at monrou.com> wrote:

> With typechecking=2 in my configuration file, some previously used code
> now compile bombs with a "incompatible types for equality (string, int)"
> message.
>
>[...]
>
> previous_program() is the kfun, which is documented to return a string or 0.
>
> Changing the equate to "prev_name == nil" works.
>
> Likewise, problems exist if find_object() and other kfuns that are documented
> to return 0 for code fragments like:

In all these cases, the documentation is incorrect; the function returns
either an object or nil.

Regards,
Dworkin

List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list