Keeps track of how many times we have unwrapped various TyCons, to avoid falling into a loop.
See Note [Expanding newtypes and products].
Instances1Outputable
Outputable RecTcCheckerDefined in ghc-10.0.0.20260917 · GHC.Core.TyCon.RecWalk
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10
Moduleghc-10.0.0.20260917GHC2024
Keeps track of how many times we have unwrapped various TyCons, to avoid falling into a loop.
See Note [Expanding newtypes and products].
Outputable RecTcCheckerDefined in ghc-10.0.0.20260917 · GHC.Core.TyCon.RecWalkInitialise a RecTcChecker with defaultRecTcMaxBound.
The default upper bound (100) for the number of times a RecTcChecker is allowed to encounter each TyCon.
Change the upper bound for the number of times a RecTcChecker is allowed to encounter each TyCon.