Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129652

Messages that have the 'Repeated' suffix lead to name clashing with the generated Repeated aliases

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.8
    • Protocol Buffers
    • None

    Description

      The following code won't compile because of name clashing:

      message MyMessage {
          int32 a = 1;
      }
      
      message MyMessageRepeated {
          repeated MyMessage b = 1;
      }
      

      MyMessage generates the QList alias that is handy in certain usecases and blocks the usage of Repeated suffix in MyMessageRepeated.

      We should avoid generating aliases.

      Attachments

        For Gerrit Dashboard: QTBUG-129652
        # Subject Branch Project Status CR V

        Activity

          People

            semlanik Alexey Edelev
            semlanik Alexey Edelev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are 3 open Gerrit changes