blob: 2e08bdcee23ba3a00783bfa68f92adb16669b49e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module T20609b where
-- Triggers the warning (definition/binding sites):
-- ------------------------------------------------
class MyClass c where
forall :: c -> ()
-- Does not trigger the warning (use sites):
-- -----------------------------------------
instance MyClass () where
forall = id
|