Opened 3 years ago
Closed 15 months ago
#12565 closed bug (duplicate)
unhelpful error message about enabling TypeApplications
Reported by: | mauke | Owned by: | goldfire |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Compiler | Version: | 8.0.1 |
Keywords: | TypeApplications | Cc: | |
Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
Type of failure: | None/Unknown | Test Case: | |
Blocked By: | Blocking: | ||
Related Tickets: | Differential Rev(s): | ||
Wiki Page: |
Description
% cat bug.hs
{-# LANGUAGE TypeApplications #-} main = return (id@() ())
% ghc bug.hs [1 of 1] Compiling Main ( bug.hs, bug.o ) bug.hs:2:16: error: Pattern syntax in expression context: id@() Did you mean to enable TypeApplications?
This error message makes no sense because TypeApplications
is already enabled.
Change History (2)
comment:1 Changed 3 years ago by
Keywords: | TypeApplications added |
---|---|
Owner: | set to goldfire |
comment:2 Changed 15 months ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This was fixed in #12879.