Skip to content

Commit c7061b0

Browse files
committed
Remove last remaining derivations of Typeable
GHC 9.12 now warns about this: Deriving ‘Typeable’ has no effect: all types now auto-derive Typeable and we specify -Werror so this is needed to fix CI builds with 9.12. Related: f732082 ("Remove all derivations of Typeable")
1 parent 6df1044 commit c7061b0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: XMonad/Layout/CircleEx.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ data CircleExMsg
116116
= Rotate !Double -- ^ Rotate secondary windows by specific angle
117117
| IncStackRatio !Rational -- ^ Increase (or decrease, with negative value) sizes of secondary windows
118118
| IncMultiplier !Rational -- ^ Increase 'cMultiplier'.
119-
deriving (Eq, Show, Typeable)
119+
deriving (Eq, Show)
120120

121121
instance Message CircleExMsg
122122

Diff for: XMonad/Layout/FixedAspectRatio.hs

-1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,5 @@ data ManageAspectRatio =
158158
FixRatio Rational Window -- ^ Set the aspect ratio for the window
159159
| ResetRatio Window -- ^ Remove the aspect ratio for the window
160160
| ToggleRatio Rational Window -- ^ Toggle the reatio
161-
deriving Typeable
162161

163162
instance Message ManageAspectRatio

0 commit comments

Comments
 (0)