Skip to content

Commit

Permalink
Fantomas
Browse files Browse the repository at this point in the history
  • Loading branch information
auduchinok committed Dec 13, 2024
1 parent 16b4d64 commit c427e05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Compiler/Driver/fsc.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1129,10 +1129,10 @@ let main6
DoesNotRequireCompilerThreadTokenAndCouldPossiblyBeMadeConcurrent ctok

let pdbfile =
pdbfile |> Option.map (fun s ->
pdbfile
|> Option.map (fun s ->
let absolutePath = tcConfig.MakePathAbsolute s
FileSystem.GetFullPathShim(absolutePath)
)
FileSystem.GetFullPathShim(absolutePath))

let normalizeAssemblyRefs (aref: ILAssemblyRef) =
match tcImports.TryFindDllInfo(ctok, rangeStartup, aref.Name, lookupOnly = false) with
Expand Down
3 changes: 2 additions & 1 deletion src/LegacyMSBuildResolver/LegacyMSBuildReferenceResolver.fs
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ let getResolver () =
|]

let rooted, unrooted =
references |> Array.partition (fun (path, _) -> FileSystem.IsPathRootedShim(path))
references
|> Array.partition (fun (path, _) -> FileSystem.IsPathRootedShim(path))

let rootedResults =
ResolveCore(
Expand Down

0 comments on commit c427e05

Please sign in to comment.