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

2024-10-14 Thread Martin via Dwarf-discuss
On 14/10/2024 20:56, Todd Allen via Dwarf-discuss wrote: Playing devil's advocate here: Can you mix these two types of properties?  That is, something like the following (please excuse any wrong syntax): type TMyRecord = record    a,b: integer; end; TMyClass = class    function GetProp: TMy

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

2024-10-14 Thread Todd Allen via Dwarf-discuss
You always can just make a similar statement for the new attribute: It inherits attributes from the referenced DIE unless overridden in this DIE.  Or somesuch. On 10/12/24 17:10, Adrian Prantl wrote: > CAUTION! External Email. Do not click links or open attachments unless you > recognize the se

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

2024-10-14 Thread Todd Allen via Dwarf-discuss
Perhaps you could use an attribute with the full "path" as a string. I'm not sure it's high-value information, perhaps only useful for some sort of "info type" command that wants to describe the type. On 10/12/24 16:59, Adrian Prantl via Dwarf-discuss wrote: > CAUTION! External Email. Do not click

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

2024-10-14 Thread Todd Allen via Dwarf-discuss
Playing devil's advocate here: Can you mix these two types of properties?  That is, something like the following (please excuse any wrong syntax): type TMyRecord = record    a,b: integer; end; TMyClass = class    function GetProp: TMyRecord;    procedure SetProp(AVal: TMyRecord);    propert