diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-10-24 13:56:29 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-10-25 15:45:34 -0400 |
commit | bf83435b5c62776072977b9b1fc5aba2bffa97b4 (patch) | |
tree | ef9b3be38521fb4f9e972e1389d6ec9f199304ac /testsuite/tests/module | |
parent | 61f1b46e2a56fcb1e95dd1c4e87fb31940b3412d (diff) | |
download | haskell-bf83435b5c62776072977b9b1fc5aba2bffa97b4.tar.gz |
typecheck: Clarify errors mentioned in #14385
Diffstat (limited to 'testsuite/tests/module')
-rw-r--r-- | testsuite/tests/module/mod39.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/module/mod39.stderr b/testsuite/tests/module/mod39.stderr index 11aa05256e..95aaddbac5 100644 --- a/testsuite/tests/module/mod39.stderr +++ b/testsuite/tests/module/mod39.stderr @@ -2,6 +2,6 @@ mod39.hs:3:17: error: • Constraint ‘Eq a’ in the type of ‘f’ constrains only the class type variables - Use ConstrainedClassMethods to allow it + Enable ConstrainedClassMethods to allow it • When checking the class method: f :: forall a. (C a, Eq a) => a In the class declaration for ‘C’ |