
#7759: iOS patch no 14: libraries/base changes --------------------------------+------------------------------------------- Reporter: StephenBlackheath | Owner: Type: bug | Status: patch Priority: normal | Component: libraries/base Version: 7.6.2 | Keywords: Os: Other | Architecture: arm Failure: Building GHC failed | Blockedby: Blocking: 7724 | Related: --------------------------------+------------------------------------------- Comment(by StephenBlackheath): Here's the error that the wrong generated code {{{Filter -1}}} produces, because there need to be parentheses around (-1). {{{ libraries/base/GHC/Event/KQueue.hsc:201:17: Couldn't match expected type ‛Filter’ with actual type ‛Word16 -> Filter’ In the first argument of ‛(-)’, namely ‛Filter’ In the expression: Filter - 1 In an equation for ‛filterRead’: filterRead = Filter - 1 libraries/base/GHC/Event/KQueue.hsc:203:17: Couldn't match expected type ‛Filter’ with actual type ‛Word16 -> Filter’ In the first argument of ‛(-)’, namely ‛Filter’ In the expression: Filter - 2 In an equation for ‛filterWrite’: filterWrite = Filter - 2 }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7759#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler