Re: [fpc-devel]FYI: array constructor & string

2003-11-26 Thread Michael Van Canneyt
On Wed, 26 Nov 2003, Peter Vreman wrote: > > 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://ww

Re: [fpc-devel]FYI: array constructor & string

2003-11-26 Thread Peter Vreman
> 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?r

[fpc-devel]FYI: array constructor & string

2003-11-26 Thread Johannes Berg
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