Hi,
I couldn't compile anything with the following:
procedure x(const a:array of const);
var s:string; // ansistring or shortstring doesn't matter
x([s]);and tracked it down to the second change block of: http://www.freepascal.org/cgi-bin/viewcvs.cgi/fpc/compiler/nld.pas.diff?r1=1.116&r2=1.117
I put in
stringdef :
hp.left:=ctypeconvnode.create(hp.left,cansistringtype);I doubt that this is the correct fix, it does however (properly?) compile above example after this change (with both shortstring and ansistring).
johannes
