Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3239

IDL parsing silently ignores dangling documentation comments

    XMLWordPrintableJSON

Details

    Description

      When parsing IDL, only the last documentation comment for a declaration is used.
      Any previous documentation comments are silently ignored.

      Proposed fix: while keeping the exact same parsing results, emit warnings for each documentation comment that is ignored.

      Additional suggestion: mention that a common cause for such a warning is using a documentation comment instead of a multiline comment.

      Attachments

        1. comments.avdl
          1 kB
          Oscar Westra van Holthe - Kind
        2. comments.avpr
          1 kB
          Oscar Westra van Holthe - Kind

        Issue Links

          Activity

            People

              opwvhk Oscar Westra van Holthe - Kind
              opwvhk Oscar Westra van Holthe - Kind
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m