[GHC] #10059: :i doesn't work for ~
GHC
ghc-devs at haskell.org
Wed Jun 20 15:51:47 UTC 2018
#10059: :i doesn't work for ~
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner: (none)
Type: bug | Status: patch
Priority: normal | Milestone:
Component: GHCi | Version: 7.11
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: #10056, #12023 | Differential Rev(s): Phab:D4877
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"f4dce6cfd71d2a1dc2e281f19cae85e62aaf6b8e/ghc" f4dce6c/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="f4dce6cfd71d2a1dc2e281f19cae85e62aaf6b8e"
Allow :info for (~) in GHCi
`(~)` is not an identifier according to GHC's parser, which
is why GHCi's `:info` command wouldn't work on it. To rectify this,
we apply the same fix that was put in place for `(->)`: add `(~)` to
GHC's `identifier` parser production.
Test Plan: make test TEST=T10059
Reviewers: bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie, mpickering, carter
GHC Trac Issues: #10059
Differential Revision: https://phabricator.haskell.org/D4877
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10059#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list