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)

Reply via email to