Dictionary variables with array values do not work

It seems dictionary variables cannot accept array values:

var dict: [String: Any]? = nil
dict = [  // E: No matching overload
    "boolean": true,  // H: parameter 1 is "<array literal>" should be "Tuple2<String,Any>"
    "integer": 42,
    "stringArray": [
        "Example string 1",
        "Example string 2"
    ]
]
print(dict)

The same dictionary works fine as constant.

Toffee v2 does not seem to have this problem.

1 Like

Thanks, logged as bugs://82184

bugs://82184 got closed with status fixed.