Skip to content

Commit f6f4ba9

Browse files
committed
wip bugfix with variable iterators
1 parent baea080 commit f6f4ba9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/mlang/m_ir/dbg_info.ml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,11 @@ module Info = struct
6565

6666
module Runtime = struct
6767
type t = { hash : int; value : Com.literal; name : string option }
68+
type rename_this = {origin: Origin.t; name: string option}
6869

69-
let make origin value name = { hash = Origin.hash origin; value; name }
70+
let make origin value name =
71+
let hash = Hashtbl.hash {origin; name} in
72+
{ hash; value; name }
7073
end
7174

7275
module Static = struct

0 commit comments

Comments
 (0)