mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-08 23:00:30 -05:00
For historical reasons, sets are represented as sparse lists in a flatmap, however a computed set does not have a numeric index. Strip the `~` flag from a computed set's index during expansion, and add it back in the prefix after sorting.