Uploaded image for project: 'ProtoStream'
  1. ProtoStream
  2. IPROTO-8

Default value for enums should not accept strings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.0.0.Final
    • 3.0.5.Final
    • None

    Description

      The only acceptable default value should be an identifier (no quotes) which is one of the possible values of the enum. Currently we also accept a string literal, but this is due to a bug in protoparser lib.

      Attachments

        Activity

          People

            anistor Adrian Nistor (Inactive)
            anistor Adrian Nistor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: