[GHC] #95: GHCi :edit command should jump to the the last error
GHC
ghc-devs at haskell.org
Mon Jun 1 07:15:37 UTC 2015
#95: GHCi :edit command should jump to the the last error
-------------------------------------+---------------------------------
Reporter: martijnislief | Owner: lortabac
Type: feature request | Status: closed
Priority: normal | Milestone: ⊥
Component: GHCi | Version: None
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: |
-------------------------------------+---------------------------------
Comment (by Austin Seipp <austin@…>):
In [changeset:"4756438962a76d2dcedf63b90ec789cb054f9556/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="4756438962a76d2dcedf63b90ec789cb054f9556"
Catch canonicalizePath exceptions, fix #10101
Summary:
Introduce by #95 'canonicalizePath' throws and exception when given
an invalid file in a call to 'sameFile'.
There are two cases when this can happen when using ghci:
1) If there is an error at the interactive prompt, "<interactive>"
file is searched for and not found.
2) If there is an error in any loaded file and editing an inexistent/new
file with 'e: foo'.
Both cases are now tested.
Test Plan: validate
Reviewers: austin, #ghc
Reviewed By: austin, #ghc
Subscribers: bgamari, thomie
Differential Revision: https://phabricator.haskell.org/D930
GHC Trac Issues: #10101
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/95#comment:24>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list