[GHC] #15053: Compiler panic on invalid syntax (unterminated pragma)

GHC ghc-devs at haskell.org
Tue Sep 4 13:35:56 UTC 2018


#15053: Compiler panic on invalid syntax (unterminated pragma)
-------------------------------------+-------------------------------------
        Reporter:  AndreasK          |                Owner:  RolandSenn
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.2.2
  (Parser)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Compile-time      |            Test Case:  make test
  crash or panic                     |  TEST=T15053
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4883
       Wiki Page:                    |  Phab:D5093
-------------------------------------+-------------------------------------

Comment (by Krzysztof Gogolewski <krz.gogolewski@…>):

 In [changeset:"df363a646b66f4dd13d63ec70f18e427cabc8878/ghc" df363a6/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="df363a646b66f4dd13d63ec70f18e427cabc8878"
 Compiler panic on invalid syntax (unterminated pragma)

 Summary: After a parse error in OPTIONS_GHC issue an error message instead
 of a compiler panic.

 Test Plan: make test TEST=T15053

 Reviewers: Phyx, thomie, bgamari, monoidal, osa1

 Reviewed By: Phyx, monoidal, osa1

 Subscribers: tdammers, osa1, rwbarton, carter

 GHC Trac Issues: #15053

 Differential Revision: https://phabricator.haskell.org/D5093
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15053#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list