Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120137

qmlls: completion inserts extra semicolon in for loops

XMLWordPrintable

    • 90cbe74cd (dev), 0cf8d7d53 (6.7)

      Completion inside of for-loops inserts extra semicolons:

       

      function f() {
          for (le<ask for completion here>;;) {}
      }
      

      will insert an extra semicolon with the let-statement snippet:

      function f() {
         for (let x = 42;;;) {}
      }

      which breaks the for-loop. Also happens with const and let definitions.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sami.shalayel Sami Shalayel
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes