We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tests-sanitize-address-clang
1 parent b3287f8 commit cde0cbdCopy full SHA for cde0cbd
vlib/toml/parser/parser.v
@@ -928,8 +928,7 @@ pub fn (mut p Parser) double_array_of_tables(mut table map[string]ast.Value) ? {
928
nm = &(table[first.str()] as map[string]ast.Value)
929
} else {
930
util.printdbg(@MOD + '.' + @STRUCT + '.' + @FN, 'implicit allocation of map for `$first` in dotted key `$dotted_key`.')
931
- new := map[string]ast.Value{}
932
- nm = &new
+ nm = &map[string]ast.Value{}
933
// We register this implicit allocation as *explicit* to be able to catch
934
// special cases like:
935
// https://github.com/BurntSushi/toml-test/blob/576db852/tests/invalid/table/array-implicit.toml
0 commit comments