Skip to content
Snippets Groups Projects
Commit 702f0db0 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Numerous small changes to the constraint solver

    The main thing is that we now keep unsolved Derived constraints in the
    wc_flats of a WantedConstraints, rather than discarding them each time.
    This actually fixes a poential (admittedly obscure) bug, when we currently
    discard a superclass constraint, and may never re-generate it, and may
    thereby miss a functional dependency.

    Instead, reportErrors filters out Derived constraints that we don't want
    to report.

    The other changes are all small refactorings following our walk-through.

MERGED from commit 9c0a6bbb on HEAD
parent 5133bb97
No related branches found
No related tags found
Loading
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