[GHC] #7807: Parse error with "where" and file-ending comment
GHC
ghc-devs at haskell.org
Sat Sep 7 20:06:35 CEST 2013
#7807: Parse error with "where" and file-ending comment
--------------------------------------+------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: closed
Priority: high | Milestone: 7.8.1
Component: Compiler (Parser) | Version: 7.7
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
--------------------------------------+------------------------------------
Changes (by monoidal):
* status: infoneeded => closed
* resolution: => fixed
Comment:
"type instance where" was old notation for closed type families before
commit 569b26526403df4d88fe2a6d64c7dade09d003ad (Revise implementation of
overlapping type family instances, 21/6/2013). This commit changed the
syntax to
{{{
type family F a where
F Int = Bool
}}}
I can reproduce the file-ending newline bug with old syntax before the
commit but not with new syntax afterwards. I can't tell how the parser
changes made this happen, but it seems it's safe to close this bug.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7807#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list