mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
7 lines
258 B
Plaintext
7 lines
258 B
Plaintext
vlib/v/parser/tests/map_init.vv:3:22: error: `}` expected; explicit `map` initialization does not support parameters
|
|
1 | fn main() {
|
|
2 | a := map[string]int{}
|
|
3 | b := map[string]f64{cap: 10}
|
|
| ~~~
|
|
4 | }
|