Skip to content
Snippets Groups Projects
Commit 88b942c4 authored by Oleg Grenrus's avatar Oleg Grenrus Committed by Marge Bot
Browse files

Add warning for badly staged types.

Resolves #23829.

The stage violation results in out-of-bound names in splices.
Technically this is an error, but someone might rely on this!?

Internal changes:
- we now track stages for TyVars.
- thLevel (RunSplice _) = 0, instead of panic, as reifyInstances does
  in fact rename its argument type, and it can contain variables.
parent a0ccef7a
No related branches found
No related tags found
No related merge requests found
Showing
with 210 additions and 7 deletions
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