Skip to content

Commit

Permalink
Env: clear uid_to_loc (#11012)
Browse files Browse the repository at this point in the history
  • Loading branch information
trefis committed Feb 15, 2022
1 parent c8c51a7 commit 85039e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,10 @@ OCaml 4.14.0
(David Allsopp and Nathan Rebours, review by Louis Gesbert,
Nicolás Ojeda Bär and Gabriel Scherer)

- #10718: Add "Shape" information to the cmt files. Shapes are an abstraction of
modules that can be used by external tooling to perform definition-aware
operations. (Ulysse Gérard, Thomas Refis and Leo White, review by Florian
Angeletti)
- #10718, #11012: Add "Shape" information to the cmt files. Shapes are an
abstraction of modules that can be used by external tooling to perform
definition-aware operations.
(Ulysse Gérard, Thomas Refis and Leo White, review by Florian Angeletti)

- #10742: strong call-by-need reduction for shapes
(Gabriel Scherer and Nathanaëlle Courant,
Expand Down
1 change: 1 addition & 0 deletions typing/env.ml
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,7 @@ let reset_declaration_caches () =
Types.Uid.Tbl.clear !module_declarations;
Types.Uid.Tbl.clear !used_constructors;
Types.Uid.Tbl.clear !used_labels;
Types.Uid.Tbl.clear !uid_to_loc;
()

let reset_cache () =
Expand Down

0 comments on commit 85039e7

Please sign in to comment.