Merge pull request #5841 from lilyinstarlight/fix-fromtoml-attrs

Sort attrs from tables in fromTOML
This commit is contained in:
Eelco Dolstra
2021-12-29 00:03:10 +01:00
committed by GitHub
+2
View File
@@ -31,6 +31,8 @@ static void prim_fromTOML(EvalState & state, const Pos & pos, Value * * args, Va
auto & v2 = *state.allocAttr(v, state.symbols.create(elem.first));
visit(v2, elem.second);
}
v.attrs->sort();
}
break;;
case toml::value_t::array: