[Lazarus] ctrl-c code completion

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Nov 8 14:05:47 CET 2016


On Tue, 8 Nov 2016 13:10:40 +0100 (CET)
Michael Van Canneyt via Lazarus <lazarus at 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 at 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


More information about the Lazarus mailing list