You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Blackbox Dev Team (JIRA)" <ji...@apache.org> on 2013/08/30 10:47:51 UTC

[jira] [Updated] (THRIFT-2153) Generating Haskell namespaces doesn't work

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

Blackbox Dev Team updated THRIFT-2153:
--------------------------------------

    Description: 
When I compile the following file

{code:title=c.thrift}
namespace hs My.Test

struct Ala {
	1: optional i32 a
}
{code}

'namespace hs My.Test'
 has no effect. In generated file there is 
"module C_Types where"
 instead of
"module My.Test.C_Types where"

  was:
When I compile the following file

{code:title=c.thrift}
namespace hs My.Test

struct Ala {
	1: optional i32 a
}
{code}

'namespace hs My.Test' has no effect. In generated file there is 
"module C_Types where" instead of "module My.Test.C_Types where"

    
> Generating Haskell namespaces doesn't work
> ------------------------------------------
>
>                 Key: THRIFT-2153
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2153
>             Project: Thrift
>          Issue Type: Bug
>          Components: Haskell - Compiler
>    Affects Versions: 0.9
>         Environment: Fedora 19
> The Glorious Glasgow Haskell Compilation System, version 7.4.2
>            Reporter: Blackbox Dev Team
>
> When I compile the following file
> {code:title=c.thrift}
> namespace hs My.Test
> struct Ala {
> 	1: optional i32 a
> }
> {code}
> 'namespace hs My.Test'
>  has no effect. In generated file there is 
> "module C_Types where"
>  instead of
> "module My.Test.C_Types where"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira