View Issue Details

IDProjectCategoryView StatusLast Update
0035413LazarusIDEpublic2019-11-04 08:04
ReporterserbodAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version2.0.2Product Build 
Target VersionFixed in Version 
Summary0035413: "Complete code" duplicates getter/setter methods with empty parenthesis
DescriptionPerforming "Complete code" on class duplicates getter/setter methods with empty parenthesis.
Steps To Reproduce1. Create empty project with default form
2. Add public property with getter / setter.
3. Perform "Source -> Complete code". It will create private getter/setter methods and implementation for them
4. Add empty parentheses to getter/setter
5. Perform "Source -> Complete code". It will duplicate private getter/setter methods and implementation for them
TagsNo tags attached.
Fixed in Revision
LazTarget
Widgetset
Attached Files

Relationships

related to 0023324 assignedMattias Gaertner code tools do not recognize function with default parameter as property accessor 
related to 0031299 acknowledgedMattias Gaertner [feature request] More intelligent code/class completion 

Activities

serbod

2019-04-18 13:04

reporter  

bug_sample.PNG (12,253 bytes)
bug_sample.PNG (12,253 bytes)

Issue History

Date Modified Username Field Change
2019-04-18 13:04 serbod New Issue
2019-04-18 13:04 serbod File Added: bug_sample.PNG
2019-11-04 08:03 Juha Manninen Relationship added related to 0031299
2019-11-04 08:04 Juha Manninen Relationship added related to 0023324