diff options
Diffstat (limited to 'v_windows/v/vlib/v/parser/tests/map_init.out')
-rw-r--r-- | v_windows/v/vlib/v/parser/tests/map_init.out | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/parser/tests/map_init.out b/v_windows/v/vlib/v/parser/tests/map_init.out new file mode 100644 index 0000000..7185266 --- /dev/null +++ b/v_windows/v/vlib/v/parser/tests/map_init.out @@ -0,0 +1,6 @@ +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 | } |