mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-02 02:01:05 -05:00
If a JSON diagnostic value has a highlight end offset which is before the highlight start offset, this would previously panic. This commit adds a normalization step to prevent the crash.