We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9bbad6 commit 3e3be1dCopy full SHA for 3e3be1d
analysis/src/CompletionBackEnd.ml
@@ -987,7 +987,7 @@ let instantiateType ~typeParams ~typeArgs (t : Types.type_expr) =
987
match (tp, ta) with
988
| t1 :: tRest1, t2 :: tRest2 ->
989
if t1 = t then t2 else applySub tRest1 tRest2 t
990
- | [], _ | _, [] -> assert false
+ | [], _ | _, [] -> t
991
in
992
let rec loop (t : Types.type_expr) =
993
match t.desc with
0 commit comments