You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2022/09/09 23:00:00 UTC

[jira] [Resolved] (THRIFT-5625) SysUtils.TGuidHelper collides with ThriftUtils.TGuidHelper

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

Jens Geyer resolved THRIFT-5625.
--------------------------------
    Fix Version/s: 0.18.0
       Resolution: Fixed

> 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)