Skip to content
  • Ryan Scott's avatar
    Use conLikeUserTyVarBinders to quantify field selector types · 54ca66a7
    Ryan Scott authored and Marge Bot's avatar Marge Bot committed
    This patch:
    
    1. Writes up a specification for how the types of top-level field
       selectors should be determined in a new section of the GHC User's
       Guide, and
    2. Makes GHC actually implement that specification by using
       `conLikeUserTyVarBinders` in `mkOneRecordSelector` to preserve the
       order and specificity of type variables written by the user.
    
    Fixes #18023.
    54ca66a7