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/11/11 01:45:35 UTC

[jira] [Resolved] (THRIFT-2814) args/result classes not found when no namespace is set

     [ https://issues.apache.org/jira/browse/THRIFT-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer resolved THRIFT-2814.
--------------------------------
    Resolution: Fixed

committed

> args/result classes not found when no namespace is set
> ------------------------------------------------------
>
>                 Key: THRIFT-2814
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2814
>             Project: Thrift
>          Issue Type: Bug
>          Components: Haxe - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.3
>
>
> The args/results helper classes are not found by the Haxe compiler if no namespaces are set in the IDL. With Haxe, classes are located via: 
>   (1) the file name matching the class name 
>   (2) wildcard {{namespace.*}} imports. 
> With an empty namespace only the first method is used. Because the helper classes are located within the (e.g.) {{MethodCall_Impl.hx}} file instead the {{MethodCall_args.hx}} file, they are not found in that case. 
> Changes:
> - generate one source file per Haxe class
> - ensure correctly capitalized names in all cases



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)