Make SpecConstr more informative output when there are too many specialisations
authorsimonpj@microsoft.com <unknown>
Wed, 6 Jan 2010 16:10:26 +0000 (16:10 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 6 Jan 2010 16:10:26 +0000 (16:10 +0000)
commitf766da17254420317a6973e0790813650f74a294
treeb89c6e917e852fb62ca69fbe02938670ce3d50be
parentc75d5fc876279575226ec22a27ce056851128ade
Make SpecConstr more informative output when there are too many specialisations

It now says something like

  SpecConstr
    Function `happyDoAction'
      has 17 call pattterns, but the limit is 3
    Use -fspec-constr-count=n to set the bound
    Use -dppr-debug to see specialisations

Previously it just silently did no specialisation
compiler/specialise/SpecConstr.lhs