Skip to content
  • Ryan Scott's avatar
    Expand type synonyms during role inference · 0bb1e840
    Ryan Scott authored
    Summary:
    During role inference, we need to expand type synonyms, since
    oversaturated applications of type synonym tycons would otherwise have overly
    conservative roles inferred for its arguments.
    
    Fixes #14101.
    
    Test Plan: ./validate
    
    Reviewers: goldfire, austin, bgamari
    
    Reviewed By: goldfire
    
    Subscribers: rwbarton, thomie
    
    GHC Trac Issues: #14101
    
    Differential Revision: https://phabricator.haskell.org/D3838
    0bb1e840