Re: [fpc-pascal] Operator overloading broken in 1.9.6?

2005-01-03 Thread Vinzent Hoefler
On Monday 03 January 2005 13:33, Peter Vreman wrote: > > operator * (const C : Char; const Len : byte) s : String; [doesn't work anymore] > > There must be at least one complex type record/string/array involved. > Your example is only using 2 ordinal types. At the time that the > expression is par

Re: [fpc-pascal] Operator overloading broken in 1.9.6?

2005-01-03 Thread Peter Vreman
> Hi, > > just installed 1.9.6 to see if any of our current code will break and > unfortunately I wasn't disappointed. ;-) > > stripped down code: > > -- 8< -- snip -- > unit >StrTools; > > interface > > operator * (const C : Char; const Len : byte) s : String; > > implementation > > operator *

[fpc-pascal] Operator overloading broken in 1.9.6?

2005-01-03 Thread Vinzent Hoefler
Hi, just installed 1.9.6 to see if any of our current code will break and unfortunately I wasn't disappointed. ;-) stripped down code: -- 8< -- snip -- unit StrTools; interface operator * (const C : Char; const Len : byte) s : String; implementation operator * (const C : Char; const Len