1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

Label the empty list like before.

This commit is contained in:
Rob Rix 2017-11-22 16:58:47 -05:00
parent 5a49d44516
commit f970aeddc7

View File

@ -137,7 +137,8 @@ instance Apply ConstructorName fs => CustomConstructorName (Union fs) where
customConstructorName = apply (Proxy :: Proxy ConstructorName) constructorName
instance CustomConstructorName [] where
customConstructorName _ = ""
customConstructorName [] = "[]"
customConstructorName _ = ""
data Strategy = Default | Custom