Skip to content

Draft: Move ExplicitForAll checks out of the parser into the renamer

This MR address #21104

Test Plan:

  • testsuite/tests/rename/should_fail/T21104a.hs
  • testsuite/tests/rename/should_fail/T21104b.hs
  • testsuite/tests/rename/should_fail/T21104c.hs

Sample error message:

T21104a.hs:6:19: error:
    'forall', 'family', and 'role' are reserved and cannot be used as type variables
Edited by Andreas Klebinger

Merge request reports