From 3758f8e2c4e3556ce9b59524c25884954b92e57b Mon Sep 17 00:00:00 2001 From: Ayman Nadeem Date: Thu, 19 Dec 2019 10:00:38 -0500 Subject: [PATCH] need range values --- semantic-source/src/Source/Range.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semantic-source/src/Source/Range.hs b/semantic-source/src/Source/Range.hs index 8051ef805..a68266b93 100644 --- a/semantic-source/src/Source/Range.hs +++ b/semantic-source/src/Source/Range.hs @@ -19,7 +19,7 @@ data Range = Range { start :: {-# UNPACK #-} !Int , end :: {-# UNPACK #-} !Int } - deriving (Eq, Generic, Ord, Show) + deriving (Eq, Generic, Ord, Show, ToJSON) instance Hashable Range instance NFData Range