Commit e14945ce authored by Committed by Ben Gamari
Adjust AltCon Ord instance to match Core linter requirements.
When sorting by the Ord instance put DEFAULT before other constructors. This is in line with what the core linter requests allowing the use of the instance for putting alternatives in the correct order. This implements #14464. Reviewers: bgamari, simonpj Reviewed By: simonpj Subscribers: simonpj, rwbarton, thomie GHC Trac Issues: #14464 Differential Revision: https://phabricator.haskell.org/D4198
Showing with 5 additions and 4 deletions