[GHC] #12949: Pattern coverage mistake

GHC ghc-devs at haskell.org
Thu Dec 8 22:49:10 UTC 2016


#12949: Pattern coverage mistake
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  error/warning at compile-time      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Note that everything works as expected if I pass in the `Boolly` values
 explicitly. Perhaps the pattern coverage checker is confusing `knownBool`
 called at different types?

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


More information about the ghc-tickets mailing list