Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2404

emit warning on (typically inefficient) list<byte>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.9.2
    • Compiler (General)
    • Patch Available

    Description

      As long as there is no special treatment of list<byte> implemented, it is a common beginner's trap to choose list<byte> where really binary would be the better choice.

      Thus, the compiler should emit an adequate warning when list<byte> is found in the IDL.

      Attachments

        1. THRIFT-2404_warning_on_list_byte.patch
          2 kB
          Jens Geyer
        2. bytemania.thrift
          0.6 kB
          Jens Geyer

        Activity

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: