Skip to content

Error message on use of != should suggest use of /=

Currently when one uses != instead of /= it comes up with this error message

        Not in scope: ‘!=’
        Perhaps you meant one of these:
          ‘Map.!’ (imported from Data.Map), ‘>=’ (imported from Prelude),
          ‘==’ (imported from Prelude)

Considering != is very common for unequal in other languages there should be a more helpful hint to use /= instead of or in addition to the current generic symbol error.

Trac metadata
Trac field Value
Version 7.10.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information