[
https://issues.apache.org/jira/browse/THRIFT-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13842108#comment-13842108
]
Hudson commented on THRIFT-2282:
--------------------------------
FAILURE: Integrated in Thrift #949 (See
[https://builds.apache.org/job/Thrift/949/])
THRIFT-2282 Incorect code generated for some typedefs (jensg: rev
5b8e770864d0ebe85e7aee3cc29de04edf60a71d)
* compiler/cpp/src/generate/t_delphi_generator.cc
> 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
> }
> typedef Foo Bar
> typedef list<Foo> FooList
> typedef list<FooList> ListOfFooLists
> {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)