diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2021-06-11 23:14:56 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-06-25 15:41:24 -0400 |
commit | 0bb78838e213467b9b5bd2b38767b39b46a294c5 (patch) | |
tree | d491064a69b3d0dd5f65fcee12bc340a36a34dd0 /testsuite/tests/module | |
parent | 83dce402043532d43635b305eca76a6f1cf4deff (diff) | |
download | haskell-0bb78838e213467b9b5bd2b38767b39b46a294c5.tar.gz |
Suggest similar names when reporting types in terms (#19978)
This fixes an error message regression.
Diffstat (limited to 'testsuite/tests/module')
-rw-r--r-- | testsuite/tests/module/mod132.stderr | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/tests/module/mod132.stderr b/testsuite/tests/module/mod132.stderr index 37c934c70f..31d9c8eeb6 100644 --- a/testsuite/tests/module/mod132.stderr +++ b/testsuite/tests/module/mod132.stderr @@ -1,7 +1,8 @@ mod132.hs:6:7: error: - Illegal term-level use of the type constructor ‘Foo’ + • Illegal term-level use of the type constructor ‘Foo’ imported from ‘Mod132_B’ at mod132.hs:4:1-15 (and originally defined in ‘Mod132_A’ at Mod132_A.hs:3:1-14) - In the expression: Foo + Perhaps you meant variable ‘foo’ (line 6) + • In the expression: Foo In an equation for ‘foo’: foo = Foo |