Skip to content
Snippets Groups Projects
Commit 884790e2 authored by Gergő Érdi's avatar Gergő Érdi Committed by Marge Bot
Browse files

Fix loop in the interface representation of some `Unfolding` fields


As discovered in #22272, dehydration of the unfolding info of a
recursive definition used to involve a traversal of the definition
itself, which in turn involves traversing the unfolding info. Hence,
a loop.

Instead, we now store enough data in the interface that we can produce
the unfolding info without this traversal. See Note [Tying the 'CoreUnfolding' knot]
for details.

Fixes #22272

Co-authored-by: default avatarSimon Peyton Jones <simon.peytonjones@gmail.com>
parent e9d74a3e
No related branches found
No related tags found
No related merge requests found
Showing
with 309 additions and 157 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