diff options
author | Tom Smeding <tom@tomsmeding.com> | 2025-01-21 23:36:09 +0100 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2025-01-21 23:36:09 +0100 |
commit | 36a7da75d1772156760bdff1f171f8f1f5d7a3c9 (patch) | |
tree | 2bb688e99bbda57971edf66ab2977edac37af154 /src/HSVIS/Diagnostic.hs | |
parent | 728c7f577228c1b1dab91c81f91cdfb9f59ec5bd (diff) |
Report ambiguous type/kind uvars, don't crash
Diffstat (limited to 'src/HSVIS/Diagnostic.hs')
-rw-r--r-- | src/HSVIS/Diagnostic.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HSVIS/Diagnostic.hs b/src/HSVIS/Diagnostic.hs index 116e4cd..2794461 100644 --- a/src/HSVIS/Diagnostic.hs +++ b/src/HSVIS/Diagnostic.hs @@ -16,7 +16,7 @@ instance Pretty Pos where -- | Inclusive-exclusive range of positions in a file. data Range = Range Pos Pos - deriving (Show) + deriving (Show, Eq, Ord) instance Semigroup Range where Range a b <> Range c d = Range (min a c) (max b d) |