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

Commit4f0fe80

Browse files
author
Gustavo Guerra
committed
Fix compilation errors in control.fs
1 parent5d6bbcd commit4f0fe80

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎src/fsharp/FSharp.Core/control.fs‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,12 @@ namespace Microsoft.FSharp.Control
402402

403403
[<AllowNullLiteral>]
404404
typeTrampoline()=
405-
405+
406+
let mutablecont= None
407+
let mutablebindCount=0
408+
409+
static letunfake FakeUnit=()
410+
406411
[<Literal>]
407412
static letbindLimitBeforeHijack=300
408413
#if FX_NO_THREAD_STATIC
@@ -418,10 +423,6 @@ namespace Microsoft.FSharp.Control
418423
#else
419424
Trampoline.thisThreadHasTrampoline
420425
#endif
421-
let mutablecont= None
422-
let mutablebindCount=0
423-
424-
static letunfake FakeUnit=()
425426

426427
// Install a trampolineStack if none exists
427428
memberthis.ExecuteAction(firstAction:unit->FakeUnitValue)=
@@ -529,6 +530,7 @@ namespace Microsoft.FSharp.Control
529530
memberthis.Protect firstAction=
530531
trampoline<-new Trampoline()
531532
trampoline.ExecuteAction(firstAction)
533+
FakeUnit
532534

533535
memberthis.Trampoline= trampoline
534536

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp