mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-08 00:02:45 -04: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.