[GHC] #15761: pprFamInstLHS drops parentheses

#15761: pprFamInstLHS drops parentheses -------------------------------------+------------------------------------- Reporter: goldfire | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- If I say {{{#!hs data family (a + b) c d data instance (Int + Bool) Double = Float }}} GHC says {{{ • Expecting one more argument to ‘Int + Bool Double’ Expected a type, but ‘Int + Bool Double’ has kind ‘* -> *’ • In the data instance declaration for ‘+’ }}} Note the missing parens in the first line of the error. Will fix shortly. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15761 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15761: pprFamInstLHS drops parentheses
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Richard Eisenberg

#15761: pprFamInstLHS drops parentheses -------------------------------------+------------------------------------- Reporter: goldfire | Owner: (none) Type: bug | Status: merge Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by goldfire): * status: new => merge Comment: There's no reason not to merge, but there's not much reason to either if there is any challenge. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15761#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15761: pprFamInstLHS drops parentheses -------------------------------------+------------------------------------- Reporter: goldfire | Owner: (none) Type: bug | Status: merge Priority: normal | Milestone: 8.6.2 Component: Compiler | Version: 8.6.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | printer/T15761 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * testcase: => printer/T15761 * milestone: => 8.6.2 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15761#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15761: pprFamInstLHS drops parentheses -------------------------------------+------------------------------------- Reporter: goldfire | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.6.2 Component: Compiler | Version: 8.6.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | printer/T15761 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged to `ghc-8.6` with bf667f9d6b9c4e39584217f7828952600cfc00a6. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15761#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC