[ https://issues.apache.org/jira/browse/THRIFT-3834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300907#comment-15300907 ]
Jens Geyer commented on THRIFT-3834: ------------------------------------ {quote} ThriftTest.thrift has the line `namespace * thrift.test`, which makes our namespace thrift.test. This causes the tests to fail. I'm not sure why the * namespace was used {quote} Probably as a fallback default to supply at least a well-defined namespace for languages not listed, such as new ones. You are free to change that if it makes sense. > Erlang namespacing and exception metadata > ----------------------------------------- > > Key: THRIFT-3834 > URL: https://issues.apache.org/jira/browse/THRIFT-3834 > Project: Thrift > Issue Type: New Feature > Components: Erlang - Compiler > Reporter: Steve Cohen > Assignee: Steve Cohen > Fix For: 0.10.0 > > Attachments: add_namespacing.patch, > thrift-3834-erlang_metadata_fixed_tests.patch > > > The erlang modules generated by thrift cannot be namespaced, this change > allows namespacing like in other thrift types. > If Module A defines a struct S and Module B defines a struct S and Module A > includes Module B, it will not compile. This change fixes that problem. > If at all possible, I'd like this to get into 0.10 -- This message was sent by Atlassian JIRA (v6.3.4#6332)