Skip to content

Commit

Permalink
fix #show regression in 4.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Et7f3 committed Dec 29, 2021
1 parent 2a6df5e commit 8553269
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions typing/signature_group.ml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,15 @@ let next_group = function
declarations of class type [c], and types [c] and [#c] *)
begin match q with
| ct::t::ht::q -> [ct;t;ht], q
| t::q -> [t], q
| _ -> assert false
end
| Types.Sig_class_type _ ->
(* a class type declaration for [ct] is followed by the ghost
declarations of types [ct] and [#ct] *)
begin match q with
| t::ht::q -> [t;ht], q
| [] -> [], q
| _ -> assert false
end
| Types.(Sig_module _ | Sig_value _ | Sig_type _ | Sig_typext _
Expand Down

0 comments on commit 8553269

Please sign in to comment.