#1647: Using -fdicts-strict flag causes Core Lint error
---------------------------------------------+------------------------------
    Reporter:  [EMAIL PROTECTED]  |        Owner:         
        Type:  bug                           |       Status:  new    
    Priority:  normal                        |    Milestone:         
   Component:  Compiler                      |      Version:  6.7    
    Severity:  minor                         |   Resolution:         
    Keywords:                                |   Difficulty:  Unknown
          Os:  Unknown                       |     Testcase:         
Architecture:  Unknown                       |  
---------------------------------------------+------------------------------
Old description:

> It appears that passing in the {{{-fdicts-strict}}} flag results in a
> Core Lint error for any program:
> {{{$ ghc -fdicts-strict -dcore-lint hello.hs }}}
> {{{*** Core Lint Errors: in result of Desugar ***
> {-# LINE 3 "hello.hs #-}:
>     [RHS of $dMonad_a6a :: GHC.Base.Monad GHC.IOBase.IO]
>     Recursive or top-level binder has strict demand info: $dMonad_a6a
>     Binder's demand info: T}}}
> The flag is documented only minimally, so I'm not sure whether it's
> something that still gets used a lot. Thus I'm not sure whether it would
> be worth it to fix it or just remove the flag. This is only in HEAD.

New description:

 It appears that passing in the {{{-fdicts-strict}}} flag results in a Core
 Lint error for any program:
 {{{
 $ ghc -fdicts-strict -dcore-lint hello.hs
 }}}
 {{{
 *** Core Lint Errors: in result of Desugar ***
 {-# LINE 3 "hello.hs #-}:
     [RHS of $dMonad_a6a :: GHC.Base.Monad GHC.IOBase.IO]
     Recursive or top-level binder has strict demand info: $dMonad_a6a
     Binder's demand info: T
 }}}
 The flag is documented only minimally, so I'm not sure whether it's
 something that still gets used a lot. Thus I'm not sure whether it would
 be worth it to fix it or just remove the flag. This is only in HEAD.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1647>
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

Reply via email to