Skip to content

Commit

Permalink
Fix Show instance (haskell#2802)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra authored and sloorush committed May 21, 2022
1 parent 14c5fb1 commit ea95359
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ghcide/src/Development/IDE/Core/RuleTypes.hs
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,11 @@ newtype GhcSessionDeps = GhcSessionDeps_
-- Required for interactive evaluation, but leads to more cache invalidations
fullModSummary :: Bool
}
deriving newtype (Eq, Show, Typeable, Hashable, NFData)
deriving newtype (Eq, Typeable, Hashable, NFData)

instance Show GhcSessionDeps where
show (GhcSessionDeps_ False) = "GhcSessionDeps"
show (GhcSessionDeps_ True) = "GhcSessionDepsFull"

pattern GhcSessionDeps :: GhcSessionDeps
pattern GhcSessionDeps = GhcSessionDeps_ False
Expand Down

0 comments on commit ea95359

Please sign in to comment.