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

Allow aliases for enum constants if option 'allow_alias' is true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.0.0.Dev01
    • 3.0.6.Final
    • None
    • None

      Duplicate constant numbers are not usually allowed, but the the following should be allowed (based on the presence of 'allow_alias' option.

      enum EnumAllowingAlias {
        option allow_alias = true;
        UNKNOWN = 0;
        STARTED = 1;
        RUNNING = 1;
      }
      

            ttarrant@redhat.com Tristan Tarrant
            anistor Adrian Nistor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: