Jens Geyer created THRIFT-2282:
----------------------------------

             Summary: Incorect code generated for some typedefs
                 Key: THRIFT-2282
                 URL: https://issues.apache.org/jira/browse/THRIFT-2282
             Project: Thrift
          Issue Type: Bug
          Components: Delphi - Compiler
    Affects Versions: 0.9.1, 0.9
            Reporter: Jens Geyer
            Assignee: Jens Geyer
             Fix For: 0.9.2


The following IDL typedef 
{code}
struct Foo
{ 
        1: optional byte myfield
} 
{code}

wrongly generates a reference to the implementing class:
{code}
        TBar = TFooImpl;
{code}

Expected would be a reference to the interface:
{code}
        TBar = IFoo;
{code}

Note that it works correctly for containers.




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to