mirror of
https://github.com/github/semantic.git
synced 2024-12-28 01:11:52 +03:00
Don’t call ToTag for constant fields.
This commit is contained in:
parent
ea917d2d0d
commit
26d064d451
@ -132,8 +132,8 @@ instance (GToTag f, GToTag g) => GToTag (f :+: g) where
|
||||
gtag (L1 l) = gtag l
|
||||
gtag (R1 r) = gtag r
|
||||
|
||||
instance ToTag t => GToTag (K1 R t) where
|
||||
gtag = tag . unK1
|
||||
instance GToTag (K1 R t) where
|
||||
gtag _ = pure ()
|
||||
|
||||
instance GToTag Par1 where
|
||||
gtag _ = pure ()
|
||||
|
Loading…
Reference in New Issue
Block a user