1
1
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:
Ayman Nadeem 2020-01-21 16:38:37 -05:00
parent e1645518c4
commit fd29dea536

View File

@ -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