mirror of
https://github.com/github/semantic.git
synced 2024-12-26 16:33:03 +03:00
Remove the instance for Line.
This commit is contained in:
parent
1515240e8e
commit
2ec4d3efb5
@ -31,7 +31,6 @@ instance (ToJSON leaf, ToJSON annotation, ToJSON recur) => ToJSON (Annotated lea
|
||||
instance ToJSON Category where
|
||||
toJSON (Other s) = String $ T.pack s
|
||||
toJSON s = String . T.pack $ show s
|
||||
instance ToJSON a => ToJSON (Line a)
|
||||
instance ToJSON Range where
|
||||
toJSON (Range start end) = Array (fromList [ toJSON start, toJSON end ])
|
||||
instance ToJSON a => ToJSON (Row a) where
|
||||
|
Loading…
Reference in New Issue
Block a user