summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_run/overloadedlabelsrun01.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/overloadedrecflds/should_run/overloadedlabelsrun01.hs')
-rw-r--r--testsuite/tests/overloadedrecflds/should_run/overloadedlabelsrun01.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/overloadedrecflds/should_run/overloadedlabelsrun01.hs b/testsuite/tests/overloadedrecflds/should_run/overloadedlabelsrun01.hs
index 45c7854e64..972932c3c2 100644
--- a/testsuite/tests/overloadedrecflds/should_run/overloadedlabelsrun01.hs
+++ b/testsuite/tests/overloadedrecflds/should_run/overloadedlabelsrun01.hs
@@ -11,10 +11,10 @@
import GHC.OverloadedLabels
instance IsLabel "true" Bool where
- fromLabel _ = True
+ fromLabel = True
instance IsLabel "false" Bool where
- fromLabel _ = False
+ fromLabel = False
a :: IsLabel "true" t => t
a = #true