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

Wrong span of the 'default' tag

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: