[GHC] #10897: Incorrect ASSERT for buildPatSyn

GHC ghc-devs at haskell.org
Wed Sep 23 17:36:16 UTC 2015


#10897: Incorrect ASSERT for buildPatSyn
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                   Owner:  cactus
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler (Type    |                 Version:  7.11
  checker)                           |
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by cactus):

 Without having looked at the details yet, I'd just like to mention that
 the reason I've put those `ASSERT`s in is because the plan, at one point,
 was to eventually get rid of most arguments to `buildPatSyn` and just
 reconstruct them from the `matcher`'s `idType`. Unfortunately, I can't
 remember off-hand why that wasn't feasible.

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


More information about the ghc-tickets mailing list