#10299: Inconsistent parsing of lifted list constructor -------------------------------------+------------------------------------- Reporter: mpickering | Owner: Type: bug | Status: patch Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D840 -------------------------------------+------------------------------------- Comment (by Austin Seipp <austin@…>): In [changeset:"caeae1a33e28745b51d952b034e253d3e51e0605/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="caeae1a33e28745b51d952b034e253d3e51e0605" Correct parsing of lifted empty list constructor See #10299 Previously `'[]` was parsed to a `HsTyVar` rather than a `HsExplicitListTy`. This patch fixes the shift-reduce conflict which caused this problem. Reviewed By: alanz, austin Differential Revision: https://phabricator.haskell.org/D840 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10299#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler