Re: [Dwarf-discuss] Proposal: Add support for "property" with getter/setter (based on Pascal properties)

2024-05-08 Thread Martin via Dwarf-discuss
Small correction property MyProp: integer read public MyFunc write MyMember; Should be property MyProp: integer read public MyFunc write MyMember; default; As I added the DW_AT_Default_Property flag in the example. In FreePascal, this would currently only be valid for properties with arra

Re: [Dwarf-discuss] Proposal: Add support for "property" with getter/setter (based on Pascal properties)

2024-05-08 Thread Martin via Dwarf-discuss
Here are 2 examples of what it would look like ## Property with different visibility ``` type TFoo = class private MyMember: integer; function MyFunc: integer; protected // "read public" is currently from oxygene, but may be added to FreePascal property My

Re: [Dwarf-discuss] Proposal: Add support for "property" with getter/setter (based on Pascal properties)

2024-05-08 Thread Martin via Dwarf-discuss
On 08/05/2024 06:34, Cary Coutant via Dwarf-discuss wrote: It will support the following new attributes * DW_AT_Default_Property flag    Specify this is a default property * DW_TAG_Property_Setter * DW_TAG_Property_Reader * DW_TAG_Property_Default * DW_TAG_Property_St