Skip to content
  • niteria's avatar
    Build correct substitution in instDFunType · a49228e3
    niteria authored and Ben Gamari's avatar Ben Gamari committed
    We will use `ty` in the range of the substitution, hence
    the substitution needs `ty`'s free vars in-scope.
    They don't seem easily available by other means, so we
    just compute them.
    
    Test Plan: ./validate
    
    Reviewers: austin, goldfire, bgamari, simonpj
    
    Reviewed By: simonpj
    
    Subscribers: thomie, simonmar
    
    Differential Revision: https://phabricator.haskell.org/D2043
    
    GHC Trac Issues: #11371
    a49228e3