Minor cleanup
This commit is contained in:
parent
597ffd02ea
commit
36fbe25e07
@ -172,10 +172,8 @@ deriveEqDynFlags qds = do
|
|||||||
uni = IS.union aa bb
|
uni = IS.union aa bb
|
||||||
dif = IS.intersection aa bb
|
dif = IS.intersection aa bb
|
||||||
delta = IS.difference uni dif
|
delta = IS.difference uni dif
|
||||||
-- deltaStr = show $ map toEnum $( (IS.toList delta) :: [GeneralFlag] )
|
|
||||||
r = if delta == IS.empty
|
r = if delta == IS.empty
|
||||||
then [(True, "")]
|
then [(True, "")]
|
||||||
-- else [(False, "generalFlags:delta=" ++ deltaStr )]
|
|
||||||
else [(False, fieldName ++ ":delta=" ++ (show delta) )]
|
else [(False, fieldName ++ ":delta=" ++ (show delta) )]
|
||||||
in fn
|
in fn
|
||||||
|]
|
|]
|
||||||
|
Loading…
Reference in New Issue
Block a user