On Tue, 8 Nov 2016 13:10:40 +0100 (CET) Michael Van Canneyt via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
> On Tue, 8 Nov 2016, Mattias Gaertner via Lazarus wrote: > > > On Sun, 6 Nov 2016 18:05:39 +0100 (CET) > > Michael Van Canneyt via Lazarus <lazarus@lists.lazarus-ide.org> wrote: > > > >> [...] > >> - Function to function, > >> > >> - Procedure to procedure > >> > >> - and the setter in > >> > >> property Values[const Name: string]: string read GetValue write > >> SetValue; > >> > >> is changed from > >> > >> procedure SetValue(const Name, Value: string); > >> > >> to > >> > >> procedure SetValue(const Name : string; Const Value: string); > >> > >> Causing the compiler to generate an error... > > > > Why does that cause a compiler error? > > Because both procedures remained in the sources. > > Open classes unit, press code completion shortcut while in TStrings (or was > it TStringlist?), and observe the effect... I noticed this while fixing a bug > report. Please create a bug report. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus