[
https://issues.apache.org/jira/browse/THRIFT-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-2282.
--------------------------------
Resolution: Fixed
Committed.
> 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, 0.9.1
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Fix For: 0.9.2
>
> Attachments: THRIFT-2282-incorrect_code_for_some_typedefs.patch
>
>
> 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)