flint icon indicating copy to clipboard operation
flint copied to clipboard

Support non-empty list and dictionary literals

Open Aurel300 opened this issue 6 years ago • 0 comments

As mentioned in the language guide, it should be possible to specify literals like:

let x: [Int] = [1, 2, 3]
let y: Int[3] = [4, 5, 6]
let z: [Int: String] = [1: "foo", 2: "bar"]
// etc

Aurel300 avatar Jan 03 '19 20:01 Aurel300