[GHC] #13385: ghci fails to start when -XRebindableSyntax is passed
GHC
ghc-devs at haskell.org
Fri Jun 2 16:27:59 UTC 2017
#13385: ghci fails to start when -XRebindableSyntax is passed
-------------------------------------+-------------------------------------
Reporter: mgsloan | Owner: (none)
Type: bug | Status: patch
Priority: normal | Milestone:
Component: GHCi | Version: 8.0.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): Phab:D3621
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"2abe54e16cbd14cab27abdc7967e907753354d54/ghc"
2abe54e1/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="2abe54e16cbd14cab27abdc7967e907753354d54"
Make GHCi work when RebindableSyntax is enabled
Previously, we were running some blocks of code at the start of every
GHCi sessions which use do-notation, something which doesn't work well
if you start GHCi with the `-XRebindableSyntax` flag on. This tweaks the
code to avoid the use of do-notation so that `-XRebindableSyntax` won't
reject it.
Test Plan: make test TEST=T13385
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie
GHC Trac Issues: #13385
Differential Revision: https://phabricator.haskell.org/D3621
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13385#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list