Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/zipper_fold.ml
Original file line numberDiff line numberDiff line change
Expand Up@@ -485,7 +485,6 @@ module Make(F:Zdef.fold)(Env:Stage.envt) = struct
~param ~ctx:(rm_loc ctx) ~state:state'
body
>>= fun body ->
let state = State.restart state diff in
restart_minor (path: minor path) ~param ~ctx ~state
(D.local_bind no x body)
| Minor Local_open_left (diff0,loc_open,m) :: path ->
Expand Down
4 changes: 4 additions & 0 deletions tests/cases/local_bind.ml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
module R = struct end
module M = struct let x = 0 end
let () = let module Z = R in ()
let () = let module Z = R in M.x
16 changes: 16 additions & 0 deletions tests/cases/local_bind.ref
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
{
"version":
[0, 11, 0],
"dependencies":
[{
"file":
"cases/local_bind.ml"
}],
"local":
[{
"module":
["Local_bind"],
"ml":
"cases/local_bind.ml"
}]
}
Loading