Skip to content

Commit 89b6ecb

Browse files
committed
Switch order of Mono search paths
1 parent 0743ceb commit 89b6ecb

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)