Skip to content
  • Ryan Scott's avatar
    Document the kind generalization behavior observed in #13555 · 18c3a7ea
    Ryan Scott authored
    The conclusion of #13555 was that a program which began to fail to
    typecheck (starting in GHC 8.2) was never correct to begin with. Let's
    document why this is the case with respect to `MonoLocalBinds`'
    interaction with kind generalization. Also adds the reported program as
    a `compile_fail` testcase.
    
    Test Plan: make test TEST=T13555 # Also, read the docs
    
    Reviewers: goldfire, simonpj, austin, bgamari
    
    Reviewed By: goldfire, simonpj, bgamari
    
    Subscribers: rwbarton, thomie
    
    GHC Trac Issues: #13555
    
    Differential Revision: https://phabricator.haskell.org/D3472
    18c3a7ea