[fpc-devel] Incompatible Types: got "untyped" expected "<procedure variable type of procedure(Pointer);Register>

Craig Peterson craig at scootersoftware.com
Thu Jul 17 17:45:10 CEST 2008


Micha Nelissen wrote:
> Ambiguity depends on whether it takes parameters or not. Return value 
> would be context sensitive. One doesn't want a context sensitive language.

The code presented is perfectly valid in Delphi, so it apparently *is* a 
context sensitive language, and I'm sure we're not the only developers 
that appreciate that fact.  The objfpc mode can be as strict as you 
want, but it seems like the Delphi mode should work with all of the 
constructs that Delphi itself allows.  Am I wrong about its intended 
behavior?

Regards,
Craig Peterson
Scooter Software




More information about the fpc-devel mailing list