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

qmlformat remove property name on objects decalred with variable as name

    XMLWordPrintable

    Details

    • Commits:
      49391fcc41d871836868452b8300938d0b94f00e (qt/qtdeclarative/dev) b0ad53347fdb26c52c6c0456adf19b049a78ea3d (qt/qtdeclarative/5.15)

      Description

      Hi,

      let key = "aaa"
      let dict = {[key]:value}
      
      // transformed to
      
      let dict = {
       "": value  // should be "aaa"
      };

        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