Skip to content

Conversation

@cjimison
Copy link

...d the -type spec for each record in the _types.hrl file

This is needed for Erlang R17 support as well as being able to run the code in dialyzer

…ated the -type spec for each record in the _types.hrl file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @cjimison good point but doesn't this break the compatibility with Erlang/OTP prior to 17.0? I think this could be done over an conditional macro defined in the rebar.config: {erl_opts, [ {platform_define, "^R", pre17} ]} and some additions with -ifdef(pre17). ... -else. ... -endif.

@jfarrell
Copy link
Contributor

Thanks for your patch @cjimison, in order for us to accept a pull request we need to have a jira ticket associated with it. Please see our contributing guide at http://thrift.apache.org/docs/HowToContribute

@jfarrell jfarrell closed this Apr 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants