id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
7245,INLINEing top-level patterns causes ghc to emit 'arity missing' traces,jwlato,,"When an INLINE pragma is specified on a pattern, ghc-7.6.1 shows some internal trace messages.

{{{
module Foo where

{-# INLINE widths #-}

widths :: [Int]
widthMonth, widthYear :: Int

widths@[widthMonth, widthYear] = [1,2]
}}}

{{{
~/Downloads$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.1
~/Downloads$ ghc Foo.hs -O
[1 of 1] Compiling Foo              ( Foo.hs, Foo.o )
makeCorePair: arity missing widths{v aeJ} [lid]
}}}

I'm not certain that specifying an INLINE pragma in this context even makes sense, in which case perhaps a more useful warning could be produced.",bug,new,normal,7.8.1,Compiler,7.6.1,,,jwlato@…,Unknown/Multiple,Unknown/Multiple,None/Unknown,Unknown,,,,
