Skip to content

Commit f221135

Browse files
authored
Merge pull request #683 from nosami/master
Switch order of Mono search paths
2 parents e1c7b85 + c2808f8 commit f221135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fsharp/CompileOps.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2855,12 +2855,12 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
28552855
[ let runtimeRoot = System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()
28562856
let runtimeRootWithoutSlash = runtimeRoot.TrimEnd('/', '\\')
28572857
let api = runtimeRootWithoutSlash + "-api"
2858+
yield runtimeRoot // The defaut FSharp.Core is found in lib/mono/4.5
28582859
if Directory.Exists(api) then
28592860
yield api
28602861
let facades = Path.Combine(api, "Facades")
28612862
if Directory.Exists(facades) then
28622863
yield facades
2863-
yield runtimeRoot // The defaut FSharp.Core is found in lib/mono/4.5
28642864
let facades = Path.Combine(runtimeRoot, "Facades")
28652865
if Directory.Exists(facades) then
28662866
yield facades

0 commit comments

Comments
 (0)