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 22:53:00 UTC

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

Jens Geyer created THRIFT-5625:
----------------------------------

             Summary: SysUtils.TGuidHelper collides with ThriftUtils.TGuidHelper
                 Key: THRIFT-5625
                 URL: https://issues.apache.org/jira/browse/THRIFT-5625
             Project: Thrift
          Issue Type: Improvement
          Components: Delphi - Library
    Affects Versions: 0.18.0
            Reporter: Jens Geyer
            Assignee: Jens Geyer


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)