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:
parent
5a49d44516
commit
f970aeddc7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user