#2216: Bad error message for unboxed types with no -fglasgow-exts flag
------------------------+---------------------------------------------------
Reporter: tim | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler (Type checker)
Version: 6.8.2 | Severity: minor
Keywords: | Testcase:
Architecture: Unknown | Os: Unknown
------------------------+---------------------------------------------------
If I compile:
{{{
module Foo where
import GHC.Exts
foo = I# 42#
}}}
with {{{ghc -c}}}, I get:
{{{
Overloaded.hs:6:0: parse error (possibly incorrect indentation)
}}}
A better message would suggest using {{{-fglasgow-exts}}} (or something.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2216>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs