Skip to content

Commit 3e3be1d

Browse files
committed
Fix leftover assert false.
1 parent a9bbad6 commit 3e3be1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analysis/src/CompletionBackEnd.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ let instantiateType ~typeParams ~typeArgs (t : Types.type_expr) =
987987
match (tp, ta) with
988988
| t1 :: tRest1, t2 :: tRest2 ->
989989
if t1 = t then t2 else applySub tRest1 tRest2 t
990-
| [], _ | _, [] -> assert false
990+
| [], _ | _, [] -> t
991991
in
992992
let rec loop (t : Types.type_expr) =
993993
match t.desc with

0 commit comments

Comments
 (0)