[GHC] #14541: Stg lint failure while building ghc-stage2: compiler/stage2/build/Hoopl/Block.o

GHC ghc-devs at haskell.org
Wed Nov 29 12:45:54 UTC 2017


#14541: Stg lint failure while building ghc-stage2:
compiler/stage2/build/Hoopl/Block.o
-------------------------------------+-------------------------------------
        Reporter:  duog              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.3
      Resolution:                    |             Keywords:  stg-lint
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 This is another example of how, after the unarisation pass, we have
 discarded void argument.  (A void argument is one of zero width.)  The
 type of `JustO` is
 {{{
 JustO :: forall ex t. (ex ~# O) => t -> MaybeO ex t
 }}}
 So it does take two value arguments, one of zero width.

 After unarisation these void arguments are gone; so the Lint check will
 have to account for that.  I suppose there could be a flag passed in to
 STG-Lint to tell it whether or not those void args are there.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14541#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list