Skip to content
Snippets Groups Projects
Commit fe98cd75 authored by Simon Jakobi's avatar Simon Jakobi Committed by Ben Gamari
Browse files

Combine the CoreAlts with the most common RHS

Unless there already is a DEFAULT alternative, look for the most common
RHS and create a new DEFAULT alt.

Previously, only the very first RHS was considered.

Test Plan: make test TEST="T7360 T14684"

Reviewers: bgamari

Subscribers: AndreasK, mpickering, rwbarton, thomie, carter

GHC Trac Issues: #14684

Differential Revision: https://phabricator.haskell.org/D4419
parent eb2daa2b
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment