Registry Mirror
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
1aad363
squash
majocha Dec 3, 2025
2c0cbae
add test
majocha Feb 16, 2026
2f16b59
fix expansion of nested if __useResumableCode
majocha Feb 16, 2026
766680e
Merge branch 'main' into resumable-fix-19296
majocha Feb 16, 2026
904da82
wip
majocha Feb 16, 2026
52c64f0
fix static compilation of some nested tasks
majocha Feb 16, 2026
1819aca
Merge branch 'main' into resumable-fix-19296
majocha Feb 16, 2026
d63dc85
directly compile the test
majocha Feb 16, 2026
574b9d8
fix comments
majocha Feb 16, 2026
250c218
add repro cases - for loop over tuples
majocha Feb 16, 2026
78d272e
include test and debugpoint handling from #14930
majocha Feb 17, 2026
3491f3a
add release notes
majocha Feb 17, 2026
b13be95
Merge branch 'main' into resumable-fix-19296
majocha Feb 17, 2026
004e577
Merge branch 'main' into resumable-fix-19296
majocha Feb 17, 2026
e6aa861
Merge branch 'main' into resumable-fix-19296
majocha Feb 17, 2026
dfc53f7
Merge branch 'main' into resumable-fix-19296
majocha Feb 17, 2026
273e3cf
add more repros to tests
majocha Feb 17, 2026
80ad10e
Merge branch 'main' into resumable-fix-19296
majocha Feb 18, 2026
98e4727
remove catch all 3511 nowarns
majocha Feb 19, 2026
7a0418a
fix handling outer expandVars ("The resumable code value(s) 'code' do…
majocha Feb 19, 2026
d477745
fix double wrapped Delay in CancellableTask
majocha Feb 19, 2026
ae1c1de
Merge branch 'resumable-fix-19296' of https://github.com/majocha/fsha…
majocha Feb 19, 2026
e51d979
Merge branch 'main' into resumable-fix-19296
majocha Feb 19, 2026
ba1d9a5
fix fantomas
majocha Feb 19, 2026
8c45c13
release notes
majocha Feb 19, 2026
1c2f077
Merge branch 'main' into resumable-fix-19296
majocha Feb 19, 2026
6a6cd5b
Merge branch 'main' into resumable-fix-19296
majocha Feb 19, 2026
b68302a
Merge branch 'main' into resumable-fix-19296
majocha Feb 20, 2026
9c9b186
remove v2 remnants, add deterministic init via assembly fixture
majocha Feb 21, 2026
e59c8db
merge resumable fixes
majocha Feb 22, 2026
b38554e
remove warning
majocha Feb 22, 2026
d466a87
add simple MailboxProcessor
majocha Feb 22, 2026
ce7125f
Merge branch 'xunit2-cleanup' into async2-resumable-fixes
majocha Feb 22, 2026
84783c8
state-machine tests: bind tasks as top level values
majocha Feb 25, 2026
761c56b
Merge branch 'main' into resumable-fix-19296
majocha Feb 25, 2026
e98cde6
Merge branch 'main' into resumable-fix-19296
majocha Feb 25, 2026
ce4f841
Merge remote-tracking branch 'majocha/resumable-fix-19296' into async…
majocha Feb 25, 2026
0b00548
.
majocha Feb 25, 2026
cca265a
fix AwaitWaitHandle
majocha Feb 25, 2026
57cffe8
fix tests
majocha Feb 25, 2026
b317ecf
update vs, too
majocha Feb 26, 2026
c018a64
get rid of the file
majocha Feb 28, 2026
1b875d8
merge main
majocha Feb 28, 2026
91c91d3
fix remnants
majocha Feb 28, 2026
e2cc074
PostAndAsyncReply
majocha Feb 28, 2026
d866a33
more
majocha Feb 28, 2026
76ab0ed
Merge branch 'main' into async2-resumable-fixes
majocha Mar 5, 2026
bfa242d
Merge branch 'main' into async2-resumable-fixes
majocha Mar 9, 2026
3132133
Merge branch 'main' into async2-resumable-fixes
majocha Mar 10, 2026
4c06ab6
merge main
majocha Mar 11, 2026
de83f93
merge main
majocha Mar 20, 2026
2114412
remove builder@ capture
majocha Mar 23, 2026
46f0d30
fix affected tests
majocha Mar 23, 2026
f639e6b
bootstrapUseRepoCompiler
majocha Mar 23, 2026
651617e
Merge branch 'main' into async2-resumable-fixes
majocha Apr 18, 2026
6022b78
Merge branch 'main' into async2-resumable-fixes
majocha Apr 21, 2026
9440e50
Merge branch 'async2-resumable-fixes' of https://github.com/majocha/f…
majocha Apr 21, 2026
0c4166f
add test
majocha Apr 22, 2026
ae97a95
revert and try another fix for nested __useResumableCode
majocha Apr 22, 2026
120f77c
release notes
majocha Apr 22, 2026
efa6547
add a comment and verbose message
majocha Apr 22, 2026
7565613
Merge branch 'fix-buildervar-leak' into async2-resumable-fixes
majocha Apr 22, 2026
80b6c7b
merge main
majocha Aug 16, 2026
097c640
fix merge
majocha Aug 16, 2026
c38f1eb
do code fixes
majocha Aug 16, 2026
074b01b
remove unused
majocha Aug 19, 2026
55e7ede
Merge remote-tracking branch 'dotnet/main' into async2-resumable-fixes
majocha Aug 20, 2026
82d03b5
StartAsTask in threadpool
majocha Aug 20, 2026
07bba9c
Merge remote-tracking branch 'dotnet/main' into async2
majocha Aug 20, 2026
ccf508b
format
majocha Aug 20, 2026
5b53459
Revert "StartAsTask in threadpool"
majocha Aug 20, 2026
7b92b85
Fix Async2 cancellation compensation
majocha Aug 20, 2026
81c1670
Merge branch 'main' into async2
majocha Aug 20, 2026
9c0fb41
Merge branch 'main' into async2
majocha Aug 20, 2026
3bd6776
merge main
majocha Aug 27, 2026
4540446
fix merge
majocha Aug 27, 2026
8da4240
merge main
majocha Aug 28, 2026
4d52c27
rename awaited -> isNested
majocha Aug 28, 2026
File filter
Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .fantomasignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ src/Compiler/Service/IncrementalBuild.fs
src/Compiler/Service/ServiceAssemblyContent.fs
src/Compiler/Service/ServiceDeclarationLists.fs
src/Compiler/Service/ServiceErrorResolutionHints.fs
vsintegration/src/FSharp.Editor/Common/CancellableTasks.fs

# Fantomas limitations on signature files (to investigate)

src/Compiler/AbstractIL/ilread.fsi
Expand Down
3 changes: 3 additions & 0 deletions eng/Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ param (

# Options
[switch][Alias('proto')]$bootstrap,
[switch]$bootstrapUseRepoCompiler,
[string]$bootstrapConfiguration = "Proto",
[string]$bootstrapTfm = "",
[string]$fsharpNetCoreProductTfm = "",
Expand Down Expand Up @@ -530,6 +531,8 @@ try {


Process-Arguments
# expose the new flag to helper scripts
$script:bootstrapUseRepoCompiler = $bootstrapUseRepoCompiler

. (Join-Path $PSScriptRoot "build-utils.ps1")

Expand Down
27 changes: 27 additions & 0 deletions eng/build-utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,33 @@ function Make-BootstrapBuild() {
$logFilePath = Join-Path $LogDir "bootstrap.binlog"
$args += " /bl:`"$logFilePath`""
}
# Use explicit repo-built fsc.dll location. No guesses.
if ($script:bootstrapUseRepoCompiler) {
Write-Host "Configuring bootstrap to use compiler built in repo (explicit)"
try {
# PSScriptRoot is eng; go up one level to reach repo root
$repoRootPath = (Resolve-Path (Join-Path $PSScriptRoot '..')).Path
}
catch {
if ($RepoRoot -is [System.Management.Automation.PathInfo]) { $repoRootPath = $RepoRoot.Path }
elseif ($RepoRoot -is [System.Array]) { $first = $RepoRoot[0]; if ($first -is [System.Management.Automation.PathInfo]) { $repoRootPath = $first.Path } else { $repoRootPath = $first.ToString() } }
else { $repoRootPath = $RepoRoot.ToString() }
}

$explicitFsc = [System.IO.Path]::Combine($repoRootPath, 'artifacts','bin','fsc',$configuration,$bootstrapTfm,'fsc.dll')

if (-not (Test-Path $explicitFsc)) {
Write-Host "Error: expected repo-built compiler not found: $explicitFsc"
Write-Host "Proceeding without DotnetFscCompilerPath"
}
else {
# Pass the DLL path directly as the MSBuild property, as requested by user
$args += " /p:DotnetFscCompilerPath=`"$explicitFsc`""
Write-Host "Set DotnetFscCompilerPath=$explicitFsc"
# Prevent MSBuild SDK redirection to its internal compiler
$args += " /p:DisableCompilerRedirection=true"
}
}
Write-Host "$dotnetExe $args"
Exec-Console $dotnetExe $args
return $dir
Expand Down
79 changes: 34 additions & 45 deletions src/Compiler/Checking/CheckDeclarations.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5334,8 +5334,8 @@ let DesugarTupleTypeExtensionCompInfo (g: TcGlobals) (compInfo: SynComponentInfo
| None -> compInfo
| _ -> compInfo

let rec TcSignatureElementNonMutRec (cenv: cenv) parent typeNames endm (env: TcEnv) synSigDecl: Cancellable<TcEnv> =
cancellable {
let rec TcSignatureElementNonMutRec (cenv: cenv) parent typeNames endm (env: TcEnv) synSigDecl: Async2<TcEnv> =
async2 {
let g = cenv.g
try
match synSigDecl with
Expand Down Expand Up @@ -5489,14 +5489,14 @@ let rec TcSignatureElementNonMutRec (cenv: cenv) parent typeNames endm (env: TcE

return env

with RecoverableException exn ->
with exn ->
errorRecovery exn endm
return env
}


and TcSignatureElements cenv parent endm env xml mutRecNSInfo defs =
cancellable {
async2 {
// Ensure the .Deref call in UpdateAccModuleOrNamespaceType succeeds
if cenv.compilingCanonicalFslibModuleType then
let checkXmlDocs = cenv.diagnosticOptions.CheckXmlDocs
Expand All @@ -5512,10 +5512,16 @@ and TcSignatureElements cenv parent endm env xml mutRecNSInfo defs =
}

and TcSignatureElementsNonMutRec cenv parent typeNames endm env defs =
Cancellable.fold (TcSignatureElementNonMutRec cenv parent typeNames endm) env defs
async2 {
match defs with
| [] -> return env
| def :: rest ->
let! env = TcSignatureElementNonMutRec cenv parent typeNames endm env def
return! TcSignatureElementsNonMutRec cenv parent typeNames endm env rest
}

and TcSignatureElementsMutRec cenv parent typeNames m mutRecNSInfo envInitial (defs: SynModuleSigDecl list) =
cancellable {
async2 {
let m = match defs with [] -> m | _ -> defs |> List.map (fun d -> d.Range) |> List.reduce unionRanges
let scopem = (defs, m) ||> List.foldBack (fun h m -> unionRanges h.Range m)

Expand Down Expand Up @@ -5574,7 +5580,7 @@ and TcSignatureElementsMutRec cenv parent typeNames m mutRecNSInfo envInitial (d

and TcModuleOrNamespaceSignatureElementsNonMutRec cenv parent env (id, moduleKind, defs, m: range, xml) =

cancellable {
async2 {
let endm = m.EndRange // use end of range for errors

// Create the module type that will hold the results of type checking....
Expand Down Expand Up @@ -5735,7 +5741,7 @@ let TcModuleOrNamespaceElementsMutRec (cenv: cenv) parent typeNames m envInitial

/// The non-mutually recursive case for a declaration
let rec TcModuleOrNamespaceElementNonMutRec (cenv: cenv) parent typeNames scopem env synDecl =
cancellable {
async2 {
let g = cenv.g
cenv.synArgNameGenerator.Reset()
let tpenv = emptyUnscopedTyparEnv
Expand Down Expand Up @@ -5851,7 +5857,6 @@ let rec TcModuleOrNamespaceElementNonMutRec (cenv: cenv) parent typeNames scopem
// Now typecheck.
let! moduleContents, topAttrsNew, envAtEnd =
TcModuleOrNamespaceElements cenv (Parent (mkLocalModuleRef moduleEntity)) endm envForModule xml None [] moduleDefs
|> cenv.stackGuard.GuardCancellable

// Get the inferred type of the decls and record it in the modul.
moduleEntity.entity_modul_type <- MaybeLazy.Strict moduleTyAcc.Value
Expand Down Expand Up @@ -5944,7 +5949,6 @@ let rec TcModuleOrNamespaceElementNonMutRec (cenv: cenv) parent typeNames scopem

let! moduleContents, topAttrs, envAtEnd =
TcModuleOrNamespaceElements cenv parent endm envNS xml mutRecNSInfo [] defs
|> cenv.stackGuard.GuardCancellable

MutRecBindingChecking.TcMutRecDefns_UpdateNSContents nsInfo
let env, openDecls =
Expand Down Expand Up @@ -5974,20 +5978,17 @@ let rec TcModuleOrNamespaceElementNonMutRec (cenv: cenv) parent typeNames scopem
return
(defns, [], topAttrs), env, envAtEnd

with RecoverableException exn ->
with exn ->
errorRecovery exn synDecl.Range
return ([], [], []), env, env
}

/// The non-mutually recursive case for a sequence of declarations
and [<TailCall>] TcModuleOrNamespaceElementsNonMutRec cenv parent typeNames endm (defsSoFar, env, envAtEnd) (moreDefs: SynModuleDecl list) (ct: CancellationToken) =

if ct.IsCancellationRequested then
ValueOrCancelled.Cancelled(OperationCanceledException ct)
else
and TcModuleOrNamespaceElementsNonMutRec cenv parent typeNames endm (defsSoFar, env, envAtEnd) (moreDefs: SynModuleDecl list) =
async2 {
match moreDefs with
| [] ->
ValueOrCancelled.Value (List.rev defsSoFar, envAtEnd)
return List.rev defsSoFar, envAtEnd
| firstDef :: otherDefs ->
// Lookahead one to find out the scope of the next declaration.
let scopem =
Expand All @@ -5996,17 +5997,12 @@ and [<TailCall>] TcModuleOrNamespaceElementsNonMutRec cenv parent typeNames endm
else
unionRanges (List.head otherDefs).Range endm

let result = Cancellable.run ct (TcModuleOrNamespaceElementNonMutRec cenv parent typeNames scopem env firstDef |> cenv.stackGuard.GuardCancellable)

match result with
| ValueOrCancelled.Cancelled x ->
ValueOrCancelled.Cancelled x
| ValueOrCancelled.Value(firstDef, env, envAtEnd) ->
TcModuleOrNamespaceElementsNonMutRec cenv parent typeNames endm ((firstDef :: defsSoFar), env, envAtEnd) otherDefs ct

let! firstDef, env, envAtEnd = TcModuleOrNamespaceElementNonMutRec cenv parent typeNames scopem env firstDef
return! TcModuleOrNamespaceElementsNonMutRec cenv parent typeNames endm ((firstDef :: defsSoFar), env, envAtEnd) otherDefs
}

and TcModuleOrNamespaceElements cenv parent endm env xml mutRecNSInfo openDecls0 synModuleDecls =
cancellable {
async2 {
// Ensure the deref_nlpath call in UpdateAccModuleOrNamespaceType succeeds
if cenv.compilingCanonicalFslibModuleType then
let checkXmlDocs = cenv.diagnosticOptions.CheckXmlDocs
Expand All @@ -6028,21 +6024,15 @@ and TcModuleOrNamespaceElements cenv parent endm env xml mutRecNSInfo openDecls0
return (moduleContents, topAttrsNew, envAtEnd)

| None ->
let! ct = Cancellable.token ()
let result = TcModuleOrNamespaceElementsNonMutRec cenv parent typeNames endm ([], env, env) synModuleDecls ct

match result with
| ValueOrCancelled.Value(compiledDefs, envAtEnd) ->
// Apply the functions for each declaration to build the overall expression-builder
let moduleDefs = List.collect p13 compiledDefs
let moduleDefs = match openDecls0 with [] -> moduleDefs | _ -> TMDefOpens openDecls0 :: moduleDefs
let moduleContents = TMDefs moduleDefs

// Collect up the attributes that are global to the file
let topAttrsNew = List.collect p33 compiledDefs
return (moduleContents, topAttrsNew, envAtEnd)
| ValueOrCancelled.Cancelled x ->
return! Cancellable(fun _ -> ValueOrCancelled.Cancelled x)
let! compiledDefs, envAtEnd = TcModuleOrNamespaceElementsNonMutRec cenv parent typeNames endm ([], env, env) synModuleDecls
// Apply the functions for each declaration to build the overall expression-builder
let moduleDefs = List.collect p13 compiledDefs
let moduleDefs = match openDecls0 with [] -> moduleDefs | _ -> TMDefOpens openDecls0 :: moduleDefs
let moduleContents = TMDefs moduleDefs

// Collect up the attributes that are global to the file
let topAttrsNew = List.collect p33 compiledDefs
return (moduleContents, topAttrsNew, envAtEnd)
}


Expand Down Expand Up @@ -6259,7 +6249,7 @@ let CheckOneImplFile
let (ParsedImplFileInput (fileName, isScript, qualNameOfFile, _, implFileFrags, isLastCompiland, _, _)) = synImplFile
let infoReader = InfoReader(g, amap)

cancellable {
async2 {
use _ =
Activity.start "CheckDeclarations.CheckOneImplFile"
[|
Expand All @@ -6284,7 +6274,6 @@ let CheckOneImplFile
let defs = [ for x in implFileFrags -> SynModuleDecl.NamespaceFragment x ]
let! moduleContents, topAttrs, envAtEnd =
TcModuleOrNamespaceElements cenv ParentNone qualNameOfFile.Range envinner PreXmlDoc.Empty None openDecls0 defs
|> cenv.stackGuard.GuardCancellable

let implFileTypePriorToSig = moduleTyAcc.Value

Expand Down Expand Up @@ -6404,7 +6393,7 @@ let CheckOneImplFile

/// Check an entire signature file
let CheckOneSigFile (g, amap, thisCcu, checkForErrors, conditionalDefines, tcSink, isInternalTestSpanStackReferring, diagnosticOptions) (tcEnv: TcEnv) (sigFile: ParsedSigFileInput) =
cancellable {
async2 {
use _ =
Activity.start "CheckDeclarations.CheckOneSigFile"
[|
Expand Down Expand Up @@ -6435,7 +6424,7 @@ let CheckOneSigFile (g, amap, thisCcu, checkForErrors, conditionalDefines, tcSin
try
sigFileType |> IterTyconsOfModuleOrNamespaceType (fun tycon ->
FinalTypeDefinitionChecksAtEndOfInferenceScope(cenv.infoReader, tcEnv.NameEnv, cenv.tcSink, false, tcEnv.DisplayEnv, tycon))
with RecoverableException exn -> errorRecovery exn sigFile.QualifiedName.Range
with exn -> errorRecovery exn sigFile.QualifiedName.Range

UpdatePrettyTyparNames.updateModuleOrNamespaceType sigFileType

Expand Down
4 changes: 2 additions & 2 deletions src/Compiler/Checking/CheckDeclarations.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ val CheckOneImplFile:
ModuleOrNamespaceType option *
ParsedImplFileInput *
FSharpDiagnosticOptions ->
Cancellable<TopAttribs * CheckedImplFile * TcEnv * bool>
Async2<TopAttribs * CheckedImplFile * TcEnv * bool>

val CheckOneSigFile:
TcGlobals *
Expand All @@ -72,7 +72,7 @@ val CheckOneSigFile:
FSharpDiagnosticOptions ->
TcEnv ->
ParsedSigFileInput ->
Cancellable<TcEnv * ModuleOrNamespaceType * bool>
Async2<TcEnv * ModuleOrNamespaceType * bool>

exception NotUpperCaseConstructor of range: range

Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/Driver/CompilerConfig.fs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ and IProjectReference =
abstract FileName: string

/// Evaluate raw contents of the assembly file generated by the project
abstract EvaluateRawContents: unit -> Async<ProjectAssemblyDataResult>
abstract EvaluateRawContents: unit -> Async2<ProjectAssemblyDataResult>

/// Get the logical timestamp that would be the timestamp of the assembly file generated by the project
///
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/Driver/CompilerConfig.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ and IProjectReference =
/// Evaluate raw contents of the assembly file generated by the project.
/// 'None' may be returned if an in-memory view of the contents is, for some reason,
/// not available. In this case the on-disk view of the contents will be preferred.
abstract EvaluateRawContents: unit -> Async<ProjectAssemblyDataResult>
abstract EvaluateRawContents: unit -> Async2<ProjectAssemblyDataResult>

/// Get the logical timestamp that would be the timestamp of the assembly file generated by the project.
///
Expand Down
22 changes: 11 additions & 11 deletions src/Compiler/Driver/CompilerImports.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2505,15 +2505,15 @@ and [<Sealed>] TcImports
}

let tryGetAssemblyData (r: AssemblyResolution) =
async {
async2 {
CheckDisposed()
let m = r.originalReference.Range
let fileName = r.resolvedPath

try

let! contentsOpt =
async {
async2 {
match r.ProjectReference with
| Some ilb -> return! ilb.EvaluateRawContents()
| None -> return ProjectAssemblyDataResult.Unavailable true
Expand Down Expand Up @@ -2678,7 +2678,7 @@ and [<Sealed>] TcImports
let phase2 () =
[ tcImports.FindCcuInfo(ctok, m, ilShortAssemName, lookupOnly = true) ]

async { return phase2 () }
async2 { return phase2 () }
else
let dllinfo =
{
Expand Down Expand Up @@ -2708,9 +2708,9 @@ and [<Sealed>] TcImports
else
tcImports.PrepareToImportReferencedILAssembly(ctok, m, fileName, dllinfo, ?shared = shared)

async { return phase2 () }
async2 { return phase2 () }

async {
async2 {
CheckDisposed()

let tcConfig = tcConfigP.Get ctok
Expand Down Expand Up @@ -2795,7 +2795,7 @@ and [<Sealed>] TcImports
ReportWarnings warns

tcImports.RegisterAndImportReferencedAssemblies(ctok, res)
|> Async.RunSynchronously
|> Async2.RunSynchronously
|> ignore

true
Expand Down Expand Up @@ -2885,7 +2885,7 @@ and [<Sealed>] TcImports
// we dispose TcImports is because we need to dispose type providers, and type providers are never included in the framework DLL set.
// If a framework set ever includes type providers, you will not have to worry about explicitly calling Dispose as the Finalizer will handle it.
static member BuildFrameworkTcImports(tcConfigP: TcConfigProvider, frameworkDLLs, nonFrameworkDLLs) =
async {
async2 {
let ctok = CompilationThreadToken()
let tcConfig = tcConfigP.Get ctok

Expand Down Expand Up @@ -2962,7 +2962,7 @@ and [<Sealed>] TcImports
resolvedAssemblies |> List.choose tryFindEquivPrimaryAssembly

let! fslibCcu, fsharpCoreAssemblyScopeRef =
async {
async2 {
if tcConfig.compilingFSharpCore then
// When compiling FSharp.Core.dll, the fslibCcu reference to FSharp.Core.dll is a delayed ccu thunk fixed up during type checking
return CcuThunk.CreateDelayed getFSharpCoreLibraryName, ILScopeRef.Local
Expand Down Expand Up @@ -3052,7 +3052,7 @@ and [<Sealed>] TcImports
(tcConfigP: TcConfigProvider, baseTcImports, nonFrameworkReferences, knownUnresolved, dependencyProvider)
=

async {
async2 {
let ctok = CompilationThreadToken()
let tcConfig = tcConfigP.Get ctok

Expand All @@ -3070,7 +3070,7 @@ and [<Sealed>] TcImports
}

static member BuildTcImports(tcConfigP: TcConfigProvider, dependencyProvider) =
async {
async2 {
let ctok = CompilationThreadToken()
let tcConfig = tcConfigP.Get ctok

Expand Down Expand Up @@ -3102,7 +3102,7 @@ let RequireReferences (ctok, tcImports: TcImports, tcEnv, thisAssemblyName, reso

let ccuinfos =
tcImports.RegisterAndImportReferencedAssemblies(ctok, resolutions)
|> Async.RunSynchronously
|> Async2.RunSynchronously

let asms =
ccuinfos
Expand Down
Loading
Loading