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 2014/01/16 22:11:23 UTC

[jira] [Created] (THRIFT-2323) Uncompileable Delphi code generated for typedef'd structs

Jens Geyer created THRIFT-2323:
----------------------------------

             Summary: Uncompileable Delphi code generated for typedef'd structs
                 Key: THRIFT-2323
                 URL: https://issues.apache.org/jira/browse/THRIFT-2323
             Project: Thrift
          Issue Type: Bug
          Components: Delphi - Compiler
            Reporter: Jens Geyer
            Assignee: Jens Geyer
             Fix For: 0.9.2


This IDL

{code}
struct Sample { 
}

typedef Sample Foobar

struct Container {
  1: Sample directUse
  2: Foobar viaTypedef
}
{code}

gives

{code}
line (292) Error: E2250 There is no overloaded version of 'Append' that can be called with these arguments 
{code}

because

{code}
__sb.Append(ViaTypedef);
{code}

should be

{code}
__sb.Append(ViaTypedef.ToString());
{code}




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)