@@ -814,18 +814,15 @@ and private SolveTypEqualsTypKeepAbbrevsWithCxsln csenv ndeep m2 trace cxsln ty1
814814| err-> ErrorD err)
815815
816816and SolveTypEqualsTypEqns csenv ndeep m2 trace cxsln origl1 origl2 =
817- match origl1, origl2with
818- | [],[] -> CompleteD
819- | _ ->
820- // We unwind Iterate2D by hand here for performance reasons.
821- let rec loop l1 l2 =
822- match l1, l2with
823- | [],[] -> CompleteD
824- | h1:: t1, h2:: t2->
825- SolveTypEqualsTypKeepAbbrevsWithCxsln csenv ndeep m2 trace cxsln h1 h2++ ( fun () -> loop t1 t2)
826- | _ ->
827- ErrorD( ConstraintSolverTupleDiffLengths( csenv.DisplayEnv, origl1, origl2, csenv.m, m2))
828- loop origl1 origl2
817+ // We unwind Iterate2D by hand here for performance reasons.
818+ let rec loop l1 l2 =
819+ match l1, l2with
820+ | [],[] -> CompleteD
821+ | h1:: t1, h2:: t2->
822+ SolveTypEqualsTypKeepAbbrevsWithCxsln csenv ndeep m2 trace cxsln h1 h2++ ( fun () -> loop t1 t2)
823+ | _ ->
824+ ErrorD( ConstraintSolverTupleDiffLengths( csenv.DisplayEnv, origl1, origl2, csenv.m, m2))
825+ loop origl1 origl2
829826
830827and SolveFunTypEqn csenv ndeep m2 trace cxsln d1 d2 r1 r2 =
831828 SolveTypEqualsTypKeepAbbrevsWithCxsln csenv ndeep m2 trace cxsln d1 d2++ ( fun () ->