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

qmlformat fails on "for of"

    XMLWordPrintable

    Details

    • Commits:
      9cfda79202c9c7955a1100861ed2135506302921 (qt/qtdeclarative/dev) 209209e6fddce1b8f8a1837a2e9f40b81f540158 (qt/qtdeclarative/5.15)

      Description

      function collectTests() {
      
        for (const [key, value] of Object.entries(root)){
          if (key.startsWith("test_")){
            collected[key] = value
            }
        }
      }
      
       0 comment(s) attached. 416 comments are orphans. Sorting imports Dumping somefile.qml <formatted>:461 : Expected token `in' Failed to parse formatted code. An error has occurred. Aborting.
      

        Attachments

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

          Activity

            People

            Assignee:
            max.goldstein Maximilian Goldstein
            Reporter:
            jgirardet Jimmy Gir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes