1
1
mirror of https://github.com/github/semantic.git synced 2025-01-02 20:41:38 +03:00

Serialize unit constructors.

This commit is contained in:
Rob Rix 2019-06-19 14:17:33 -04:00
parent 8e98f7eaed
commit 50b9298457
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -51,3 +51,6 @@ instance (Constructor c, GToSExpression f) => GToSExpression (M1 C c f) where
instance (GToSExpression f, GToSExpression g) => GToSExpression (f :*: g) where
gtoSExpression (l :*: r) = gtoSExpression l <> gtoSExpression r
instance GToSExpression U1 where
gtoSExpression _ _ = []