Skip to content
Snippets Groups Projects
Commit bd75e5da authored by Ryan Scott's avatar Ryan Scott Committed by Marge Bot
Browse files

Enable ImpredicativeTypes internally when typechecking selector bindings

This is necessary for certain record selectors with higher-rank
types, such as the examples in #18005. See
`Note [Impredicative record selectors]` in `TcTyDecls`.

Fixes #18005.
parent 40a85563
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment