#10848 closed feature request (fixed)

GHC/GHCi should optionally print errors in reversed order

Reported by: osa1 Owned by: siddhanathan
Priority: lowest Milestone: 8.0.1
Component: GHCi Version: 7.11
Keywords: newcomer Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case: none
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D1367
Wiki Page:

Description

This would be super useful especially when refactoring. The way I usually do refactoring is that I break things with a change, and then reload GHCi, fixing a couple of errors at a time. I almost always start with first error, which means I have to scroll every time I reaload GHCi.

Change History (8)

comment:1 Changed 22 months ago by simonpj

Not hard; there's one spot where errors are sorted by source location. You'd just need another flag, and user documentation.

comment:2 Changed 22 months ago by siddhanathan

Owner: set to siddhanathan

comment:3 Changed 21 months ago by bernalex

Still working on this, siddhanathan?

comment:4 Changed 21 months ago by siddhanathan

Yeah, I'm almost done.

comment:5 Changed 20 months ago by siddhanathan

Differential Rev(s): Phab:D1367

comment:6 Changed 20 months ago by Ben Gamari <ben@…>

In 499ce291/ghc:

Add flag to reverse errors in GHC/GHCi

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1367

GHC Trac Issues: #10848

comment:7 Changed 20 months ago by Ben Gamari <ben@…>

In d1d8704c/ghc:

Use correct documentation flag for freverse-errors

Reviewers: austin, thomie, bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D1376

GHC Trac Issues: #10848

comment:8 Changed 20 months ago by thomie

Milestone: 8.0.1
Resolution: fixed
Status: newclosed
Test Case: none
Note: See TracTickets for help on using tickets.