forked from leanprover/lean4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make structure parent info persist (leanprover#5890)
Modifies the `structureExt` from being a `SimplePersistentEnvExtension` to a `PersistentEnvExtension`. The simple version contains a `List` of all added entries, which we do not need since we already have a `PersistentHashMap` of them in the state. The oversight was that this `List` contained duplicate entries due to `setStructureParents` re-adding entries.
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters