mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Need to eventually add range/span which depends on new release of semantic-source
This commit is contained in:
parent
e1645518c4
commit
fd29dea536
@ -31,6 +31,9 @@ class MarshalJSON t where
|
||||
|
||||
-- Need a way to discriminate between things we want to be represented as nodes in the JSON vs. don't (sums vs. not sums)
|
||||
-- only call object where we have an "inside" value
|
||||
|
||||
-- TODO: range and span will require a new release of semantic-source
|
||||
|
||||
|
||||
-- Create MarshalJSON instances for each type constructor
|
||||
instance (GFields (Rep1 t), Generic1 t) => MarshalJSON t
|
||||
|
Loading…
Reference in New Issue
Block a user