Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Simon Peyton Jones's avatar
    8e053700
    Join points can be levity-polymorphic · 8e053700
    Simon Peyton Jones authored
    It's ok to have a levity-polymorphic join point, thus
       let j :: r :: TYPE l = blah
       in ...
    
    Usually we don't allow levity-polymorphic binders, but join points
    are different because they are not first class.  I updated the
    invariants in CoreSyn.
    
    This commit fixes Trac #13394.
    8e053700
    History
    Join points can be levity-polymorphic
    Simon Peyton Jones authored
    It's ok to have a levity-polymorphic join point, thus
       let j :: r :: TYPE l = blah
       in ...
    
    Usually we don't allow levity-polymorphic binders, but join points
    are different because they are not first class.  I updated the
    invariants in CoreSyn.
    
    This commit fixes Trac #13394.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.