Skip to content

Commit 01dc508

Browse files
dsymelatkin
authored andcommitted
cleanup referenceresolution.fs/fsi
ReferenceResolution.fs/fsi has long been messy in a way that obscured what it does. This is some code cleanup (no change in functionality) to remove some of the obscurity. This came from reviewing the code with Robin Neatherway. closes http://visualfsharp.codeplex.com/SourceControl/network/forks/dsyme/cleanup/contribution/7671 commit dbd480e5f58418782bcc0f0dde54a5bc8bfe346f Author: Don Syme <[email protected]> Date: Mon Nov 10 16:21:12 2014 +0000 put net10 and net11 back commit ac83e77a8d6a9fe93dab5afa904761feec27be08 Author: Don Syme <[email protected]> Date: Mon Nov 10 16:05:52 2014 +0000 cleanup ReferenceResolution.fs
1 parent 51ff4c5 commit 01dc508

File tree

3 files changed

+265
-332
lines changed

3 files changed

+265
-332
lines changed

src/fsharp/CompileOps.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2634,7 +2634,7 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
26342634
| MSBuildResolver.RuntimeLike ->
26352635
[System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()]
26362636
| _ ->
2637-
let frameworkRoot = MSBuildResolver.DotNetFrameworkReferenceAssembliesRootDirectory
2637+
let frameworkRoot = MSBuildResolver.DotNetFrameworkReferenceAssembliesRootDirectoryOnWindows
26382638
let frameworkRootVersion = Path.Combine(frameworkRoot,tcConfig.targetFrameworkVersionMajorMinor)
26392639
[frameworkRootVersion]
26402640
with e ->

0 commit comments

Comments
 (0)