Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2422 Merge fbthrift
  3. THRIFT-2499

Compiler: allow annotations without "= value"

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2
    • Compiler (General)
    • None
    • Patch Available

    Description

      GitHub user djwatson opened a pull request:

      https://github.com/apache/thrift/pull/87

      [thrift] Compiler: allow annotations without "= value"

      Summary: (foo) is the same as (foo = 1), for brevity

      Test: AnnotationTest.thrift still compiles

      You can merge this pull request into a Git repository by running:

      $ git pull https://github.com/djwatson/thrift annotations

      Alternatively you can review and apply these changes as the patch at:

      https://github.com/apache/thrift/pull/87.patch

      To close this pull request, make a commit to your master/trunk branch
      with (at least) the following in the commit message:

      This closes #87


      commit 078ce57e816eeb3697acf6f2c50e09526da73d3b
      Author: Dave Watson <davejwatson@fb.com>
      Date: 2014-03-21T19:42:31Z

      [thrift] Compiler: allow annotations without "= value"

      Summary: (foo) is the same as (foo = 1), for brevity

      Test: AnnotationTest.thrift still compiles


      Attachments

        Activity

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: