Skip to content

Commit

Permalink
Update walk_type for lock and tid
Browse files Browse the repository at this point in the history
  • Loading branch information
0npv527yh9 committed Jan 5, 2024
1 parent af4f62c commit 288bcf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flowInference.ml
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ let rec walk_type ty step f st acc =
let acc = f st' acc in
let mst = step `Elem st in
continue ~acc mst f)))
| `Lock _ | `ThreadID _ -> failwith "not implemented in flowinference"
| `Lock _ | `ThreadID _ -> acc

(** Walk two paths in parallel according to the type ty. Unlike type_walk, this
walk function only calls the step function when:
Expand Down

0 comments on commit 288bcf0

Please sign in to comment.