Skip to content

Commit

Permalink
do not import specializations cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha committed Oct 5, 2022
1 parent 95af593 commit 456b4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lean/Compiler/Specialize.lean
Expand Up @@ -108,7 +108,7 @@ builtin_initialize specExtension : SimplePersistentEnvExtension SpecEntry SpecSt
registerSimplePersistentEnvExtension {
name := `specExt,
addEntryFn := SpecState.addEntry,
addImportedFn := fun es => (mkStateFromImportedEntries SpecState.addEntry {} es).switch
addImportedFn := fun es => (mkStateFromImportedEntries (fun | s, SpecEntry.cache .. => s | s, i => SpecState.addEntry s i) {} es).switch
}

@[export lean_add_specialization_info]
Expand Down

0 comments on commit 456b4fa

Please sign in to comment.