[GHC] #11044: Parse error on empty multi-line deprecation warnings
GHC
ghc-devs at haskell.org
Sat Nov 7 23:54:15 UTC 2015
#11044: Parse error on empty multi-line deprecation warnings
-------------------------------------+-------------------------------------
Reporter: inaki | Owner:
Type: bug | Status: patch
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.10.2
(Parser) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: GHC rejects | Test Case:
valid program | parser/should_compile/T3303
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1433
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"8262c954ac3084f0dfcb6d5fa6e6172afd22eae7/ghc" 8262c95/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="8262c954ac3084f0dfcb6d5fa6e6172afd22eae7"
Parser: allow empty multi-line deprecation warnings
This should work,
{-# DEPRECATED someFunction [] #-}
Test Plan: parser/should_compile/T3303
Reviewers: bgamari, austin
Reviewed By: austin
Subscribers: mpickering
Differential Revision: https://phabricator.haskell.org/D1433
GHC Trac Issues: #11044
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11044#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list