Wrong span of the 'default' tag

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 18
    • Affects Version/s: 17, 18
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: