[fpc-pascal] Constants in generics tests

Ryan Joseph ryan at thealchemistguild.com
Sat Feb 16 15:04:15 CET 2019



> On Feb 16, 2019, at 3:33 AM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> While you're at it, you should probably also ensure that internal error 2014050904 does not trigger ;)

That’s what got my in the first place. I saw the internal error and made it not trigger but didn’t bother to check if the rest of the method was operational (hint, it’s not!). sym.owner.defowner<>self is not true for constants so I need to figure out why.

Btw, how does FPC generate internal errors numbers? I needed to add some errors myself and I didn’t know how to increment the counter.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list