[fpc-devel] Implicit function specialization precedence

Ryan Joseph genericptr at gmail.com
Thu Apr 15 19:14:12 CEST 2021



> On Apr 14, 2021, at 3:49 PM, Ryan Joseph <genericptr at gmail.com> wrote:
> 
> It works but it thinks this array is array of const also so it's too strict I believe.
> 
> ['aaa', 'bbb'];

About this, shouldn't we just be doing this? Any array constructor that has elements which are which are incompatible is "array of const"? from tarrayconstructornode.pass_typecheck:

                 if eq=te_incompatible then
                   diff:=true;

Regards,
	Ryan Joseph



More information about the fpc-devel mailing list