You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Chad Walters (JIRA)" <ji...@apache.org> on 2009/04/08 09:16:12 UTC

[jira] Commented: (THRIFT-413) Type annotations for base types

    [ https://issues.apache.org/jira/browse/THRIFT-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696917#action_12696917 ] 

Chad Walters commented on THRIFT-413:
-------------------------------------

+1 lgtm

> Type annotations for base types
> -------------------------------
>
>                 Key: THRIFT-413
>                 URL: https://issues.apache.org/jira/browse/THRIFT-413
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: David Reiss
>            Priority: Minor
>         Attachments: 0001-THRIFT-413.-Suppport-for-annotations-on-base-types.patch
>
>
> This patch allows type annotations to be applied to base types.  The one thing about it that scared me a bit was that we were allocating a new type object for each base type with annotations, so checks like
> {code}
> if (get_true_type(ttype) == g_type_i32)
> {code}
> would fail if ttype had annotations.  But I grepped for all uses of the global type objects and didn't find anything like that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.