Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7c02652

Browse files
committed
Add comments
1 parenta8201de commit7c02652

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/fsharp/build.fs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2708,6 +2708,10 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
27082708
|| isNetModulethen
27092709

27102710
letsearchPaths=
2711+
// if this is a #r reference (not from dummy range), make sure the directory of the declaring
2712+
// file is included in the search path. This should ideally already be one of the search paths, but
2713+
// during some global checks it won't be. We append to the end of the search list so that this is the last
2714+
// place that is checked.
27112715
if m<> range0&& m<> rangeStartup&& m<> rangeCmdArgs&& FileSystem.IsPathRootedShim m.FileNamethen
27122716
tcConfig.SearchPathsForLibraryFiles@[Path.GetDirectoryName(m.FileName)]
27132717
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp