terraform/vendor/github.com/zclconf/go-cty/cty/set
Martin Atkins 6adcc7ab73 vendor: go get github.com/zclconf/go-cty@master
cty now guarantees that sets of primitive values will iterate in a
reasonable order. Previously it was the caller's responsibility to deal
with that, but we invariably neglected to do so, causing inconsistent
ordering. Since cty prioritizes consistent behavior over performance, it
now imposes its own sort on set elements as part of iterating over them so
that calling applications don't have to worry so much about it.

This change also causes cty to consistently push unknown and null values
in sets to the end of iteration, where before that was undefined. This
means that our diff output will now consistently list additions before
removals when showing sets, rather than the ordering being undefined as
before.

The ordering of known, non-null, non-primitive values is still not
contractually fixed but remains consistent for a particular version of
cty.
2019-04-30 15:49:28 -07:00
..
gob.go
iterator.go vendor: go get github.com/zclconf/go-cty@master 2019-04-30 15:49:28 -07:00
ops.go vendor: go get github.com/zclconf/go-cty@master 2019-04-30 15:49:28 -07:00
rules.go vendor: go get github.com/zclconf/go-cty@master 2019-04-30 15:49:28 -07:00
set.go