[ 
https://issues.apache.org/jira/browse/THRIFT-5625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer updated THRIFT-5625:
-------------------------------
    Description: 
If both {{SysUtils}} and {{Thrift.Utils}} units are used in a certain file, it 
is not possible to use all {{TGuid}} extension methods, since Delphi only 
allows for one {{record helper for TGuid}} at a time and will pick the most 
appropriate one and simply ignore the other. This might break compatibility.

To make it worse, while class helpers can be inherited, record helpers can not 
... and TGuid is a record type.

  was:
If both {{SysUtils}} and {{Thrift.Utils}} units are used in a certain file, it 
is not possible to use all {{{TGuid}} extension methods, since Delphi only 
allows for one {{record helper for TGuid}} at a time and will pick the most 
appropriate one and simply ignore the other. This might break compatibility.

To make it worse, while class helpers can be inherited, record helpers can not 
... and TGuid is a record type.


> SysUtils.TGuidHelper collides with ThriftUtils.TGuidHelper
> ----------------------------------------------------------
>
>                 Key: THRIFT-5625
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5625
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: Delphi - Library
>    Affects Versions: 0.18.0
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Major
>             Fix For: 0.18.0
>
>         Attachments: 
> 0001-THRIFT-5625-SysUtils.TGuidHelper-collides-with-Thrif.patch
>
>
> If both {{SysUtils}} and {{Thrift.Utils}} units are used in a certain file, 
> it is not possible to use all {{TGuid}} extension methods, since Delphi only 
> allows for one {{record helper for TGuid}} at a time and will pick the most 
> appropriate one and simply ignore the other. This might break compatibility.
> To make it worse, while class helpers can be inherited, record helpers can 
> not ... and TGuid is a record type.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to