• Yuras's avatar
    Suggest candidate instances in error message · 5fc06b97
    Yuras authored
    See Trac #9611. In "No instance..." error message we suggest instances
    for other types with the same occ name. It is usefull e.g. when we have
    two different versions of the same package installed.
    Test Plan: typecheck/should_fail/tcfail224
    Reviewers: austin, bgamari
    Reviewed By: bgamari
    Subscribers: thomie
    Differential Revision: https://phabricator.haskell.org/D1919
    GHC Trac Issues: #9611
tcfail224.hs 79 Bytes