- 
    Bug 
- 
    Resolution: Fixed
- 
    P1: Critical 
- 
    6.9.3, 6.10.0
- 
    None
- 
        f5e34266ea15c6e44e9816f01f4e627d5f038f0c
The following example crashes the application when the qml compiler is used.
The "workaround" actually disables c++ compilation (reason: "Cannot generate efficient code for StoreElement with non-list base type or non-numeric arguments", whatever that means).
import QtQuick Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Component.onCompleted: { let bar = {}; // => crash in generated c++ code bar["foo"] = 42; // => "workaround" // const key = "foo"; // bar[key] = 42; } }