Skip to content

Commit de709b3

Browse files
authored
Merge pull request fsharp#653 from nosami/master
Switch order of Mono search paths
2 parents 0743ceb + 89b6ecb commit de709b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/fsharp/CompileOps.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2807,12 +2807,12 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
28072807
[ let runtimeRoot = System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()
28082808
let runtimeRootWithoutSlash = runtimeRoot.TrimEnd('/', '\\')
28092809
let api = runtimeRootWithoutSlash + "-api"
2810+
yield runtimeRoot // The defaut FSharp.Core is found in lib/mono/4.5
28102811
if Directory.Exists(api) then
28112812
yield api
28122813
let facades = Path.Combine(api, "Facades")
28132814
if Directory.Exists(facades) then
28142815
yield facades
2815-
yield runtimeRoot // The defaut FSharp.Core is found in lib/mono/4.5
28162816
let facades = Path.Combine(runtimeRoot, "Facades")
28172817
if Directory.Exists(facades) then
28182818
yield facades

0 commit comments

Comments
 (0)