Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9656fb9

Browse files
committed
get bg build right
1 parent abafd45 commit 9656fb9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/fsharp/vs/IncrementalBuild.fsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module internal IncrementalFSharpBuild =
107107
/// Whether there are any 'live' type providers that may need a refresh when a project is Cleaned
108108
member ThereAreLiveTypeProviders : bool
109109
#endif
110-
/// Perform one step in the F# build (type-checking only, the type check is not finalized)
110+
/// Perform one step in the F# build. Return true if the background work is finished.
111111
member Step : unit -> bool
112112

113113
/// Get the preceding typecheck state of a slot, without checking if it is up-to-date w.r.t.

src/fsharp/vs/Reactor.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ module internal Reactor =
8383
let span = System.DateTime.Now - time
8484
//if span.TotalMilliseconds > 100.0 then
8585
Debug.WriteLine("Reactor: <-- background step, remaining {0}, took {1}ms", inbox.CurrentQueueLength, span.TotalMilliseconds)
86-
return! loop ((if res then None else Some bgOp), onComplete)
86+
return! loop ((if res then Some bgOp else None), onComplete)
8787
| None, None -> failwith "unreachable, should have used inbox.Receive"
8888
}
8989
async {

0 commit comments

Comments
 (0)