Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
goldfirere committed Dec 20, 2024
1 parent 21ad377 commit 21854ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions typing/ctype.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2210,6 +2210,8 @@ let rec estimate_type_jkind ~expand_component env ty =
else
jkind
with
(* CR layouts v2.8: It will be confusing when a [Cannot_subst] leads to
a [Missing_cmi]. *)
| Cannot_subst | Not_found -> Jkind.Builtin.any ~why:(Missing_cmi p)
end
| Tobject _ -> Jkind.for_object
Expand Down

0 comments on commit 21854ee

Please sign in to comment.