type-section-rework #6

Merged
sashakoshka merged 46 commits from type-section-rework into main 2022-09-17 10:36:27 -06:00
Showing only changes of commit df1636e8fa - Show all commits

View File

@ -103,8 +103,8 @@ func (attributes ObjectDefaultValues) ToString (
) (
output string,
) {
for _, name := range sortMapKeysAlphabetically(attributes.attributes) {
value := attributes.attributes[name]
for _, name := range sortMapKeysAlphabetically(attributes) {
value := attributes[name]
output += doIndent(indent, ".", name)
if value.kind == ArgumentKindObjectDefaultValues {
@ -123,7 +123,7 @@ func (values ArrayDefaultValues) ToString (
) (
output string,
) {
for _, value := range values.values {
for _, value := range values {
output += value.ToString(indent, true)
}