Skip to content

syntax repair suggestion is too eager to suggest TemplateHaskell

On input ipmort Data.Monoid, ghc's suggestion is

    Parse error: naked expression at top level
    Perhaps you intended to use TemplateHaskell

Apart from the nudity: the suggestion is unreasonable for beginners, and unnecessary for experts.

Trac metadata
Trac field Value
Version 8.0.1
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