> On Jul 30, 2018, at 11:08 PM, Sven Barth via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> If the method doesn't access Self then there is nothing you can do. 

Is this something the compiler team would be interested in adding? I’d like to 
get an error when calling methods on nil. It’s seems like pretty basic type 
safety stuff to me.

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to