Skip to content

Commit

Permalink
Update cty/convert/unify.go
Browse files Browse the repository at this point in the history
  • Loading branch information
apparentlymart committed Mar 10, 2021
1 parent b4144f6 commit 4f50d5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cty/convert/unify.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ func unifyObjectsAsMaps(types []cty.Type, unsafe bool) (cty.Type, []Conversion)
return cty.NilType, nil
}

// we have a good conversion, wrap the nested tuple conversions.
// We know the tuple conversion is not nil, because we went from tuple to
// list
// we have a good conversion, so wrap the nested object conversions.
// We know the object conversion is not nil, because we went from object to
// map.
for i, idx := range objIdxs {
mapConv := convs[idx]
objConv := objConvs[i]
Expand Down

0 comments on commit 4f50d5e

Please sign in to comment.