Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-5378

Formatter fails on javascript "switch/default" braces block

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.1.2
    • Fix Version/s: 2013 Sprint 24, Release 3.2.0
    • Component/s: JS
    • Labels:
    • Environment:

      Windows XP

    • Story Points:
      5
    • Sprint:
      2013 Sprint 24

      Description

      var a;
      switch(a) {
      case 1:

      { a = b; break; }

      case 2:

      { a = b; break; }

      default:

      { /* this braces are the cause of formatter crash */ b = a; }

      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                kazan1000 Alex
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: