Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8275097

Wrong span of the 'default' tag

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 17, 18
    • 18
    • tools
    • None
    • b23

    Description

      Consider code like:
      ---
      switch (0) {
          default:
      }
      ---

      The span of the AST node representing 'default' does not cover the letters 'default', but rather ':', which is wrong.

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              jlahoda Jan Lahoda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: