Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitccdfae0

Browse files
forkiKevinRansom
authored andcommitted
fix typo (dotnet#2267)
1 parentb05a2e5 commitccdfae0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/fsharp/TypeChecker.fs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp