[fpc-pascal] Wrong constructor returning the right object

Marco van de Voort marcov at stack.nl
Sun Feb 23 17:17:54 CET 2014


In our previous episode, Mark Morgan Lloyd said:
> >> I didn't think this was necessary, 
> > 
> > _why_ did you think this?
> 
> In part, because the documentation on method declarations at 
> http://www.freepascal.org/docs-html/ref/refsu25.html#x66-730005.5.1 
> explicitly allows a  virtual  method directive, but the documentation on 
> constructor declarations at 

That link also contains a case for constructors, but point taken, the
railroad diagram of constructor could be improved, which might be worthy of
a bugreport.




More information about the fpc-pascal mailing list