@@ -2508,9 +2508,8 @@ let AddCxTypeEqualsTypeUndoIfFailed denv css m ty1 ty2 =
25082508 UndoIfFailed( fun trace -> SolveTypEqualsTypKeepAbbrevs( MakeConstraintSolverEnv ContextInfo.NoContext css m denv) 0 m( WithTrace( trace)) ty1 ty2)
25092509
25102510let AddCxTypeEqualsTypeMatchingOnlyUndoIfFailed denv css m ty1 ty2 =
2511- let csenv = MakeConstraintSolverEnv ContextInfo.NoContext css m denv
2512- let csenv = { csenvwith MatchingOnly= true }
2513- UndoIfFailed( fun trace -> SolveTypEqualsTypKeepAbbrevs csenv0 m( WithTrace( trace)) ty1 ty2)
2511+ let csenv = { MakeConstraintSolverEnv ContextInfo.NoContext css m denvwith MatchingOnly= true }
2512+ UndoIfFailed( fun trace -> SolveTypEqualsTypKeepAbbrevs csenv0 m( WithTrace trace) ty1 ty2)
25142513
25152514let AddCxTypeMustSubsumeTypeUndoIfFailed denv css m ty1 ty2 =
25162515 UndoIfFailed( fun trace -> SolveTypSubsumesTypKeepAbbrevs( MakeConstraintSolverEnv ContextInfo.NoContext css m denv) 0 m( WithTrace( trace)) None ty1 ty2)