[fpc-pascal] Constants in generics tests
    Ryan Joseph 
    ryan at thealchemistguild.com
       
    Fri Feb 15 23:00:17 CET 2019
    
    
  
> On Feb 15, 2019, at 4:19 PM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> It could be that the method body is not generated. Look for generate_specialization_procs in pgenutil as that is what generates the bodies at the end of a unit (simplified). 
> 
Really good catch Sven. tstoreddef.is_specialization is not returning true for generics with const params so the procedure body is not getting created. Not sure how to resolve it yet but at least I know where it is. Thanks.
Regards,
	Ryan Joseph
    
    
More information about the fpc-pascal
mailing list