@@ -3890,7 +3890,7 @@ let CheckAndRewriteObjectCtor g env (ctorLambaExpr:Expr) =
38903890
38913891 // Build an assignment into the safeThisValOpt mutable reference cell that holds recursive references to 'this'
38923892 // Build an assignment into the safeInitInfo mutable field that indicates that partial initialization is successful
3893- letrewriteContruction recdExpr =
3893+ letrewriteConstruction recdExpr =
38943894 match env.eCtorInfo with
38953895 | None -> recdExpr
38963896 | Some ctorInfo ->
@@ -3918,7 +3918,7 @@ let CheckAndRewriteObjectCtor g env (ctorLambaExpr:Expr) =
39183918 match expr with
39193919 // <ctor-body> = { fields }
39203920 // The constructor ends in an object initialization expression - good
3921- | Expr.Op(TOp.Recd(RecdExprIsObjInit,_),_,_,_) ->rewriteContruction expr
3921+ | Expr.Op(TOp.Recd(RecdExprIsObjInit,_),_,_,_) ->rewriteConstruction expr
39223922
39233923 // <ctor-body> = "a; <ctor-body>"
39243924 | Expr.Sequential(a,body,NormalSeq,spSeq,b) -> Expr.Sequential(a,checkAndRewrite body,NormalSeq,spSeq,b)
@@ -3940,7 +3940,7 @@ let CheckAndRewriteObjectCtor g env (ctorLambaExpr:Expr) =
39403940 // The application had better be an application of a ctor
39413941 let f = checkAndRewriteCtorUsage f
39423942 let expr = Expr.App(f,b,c,d,m)
3943- rewriteContruction expr
3943+ rewriteConstruction expr
39443944
39453945 | _ ->
39463946 error(expr)