Skip to content

Commit

Permalink
only one of these instances is overlapping, what will ghc 7 say?
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianAlgehed committed Mar 21, 2024
1 parent 3cede21 commit 60a95f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Test/QuickCheck/Arbitrary.hs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ instance GSubtermsIncl f a => GSubtermsIncl (M1 i c f) a where
instance OVERLAPPING_ GSubtermsIncl (K1 i a) a where
gSubtermsIncl (K1 x) = [x]

instance OVERLAPPING_ GSubtermsIncl (K1 i a) b where
instance GSubtermsIncl (K1 i a) b where
gSubtermsIncl (K1 _) = []

#endif
Expand Down

0 comments on commit 60a95f7

Please sign in to comment.