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

Commit17ab8f9

Browse files
committed
Fixing tests
2 parentsa85e743 +98c5bf1 commit17ab8f9

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

‎DotnetCLIToolsVersion.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.403
1+
2.1.403

‎init-tools.cmd‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ if exist "%BUILD_TOOLS_SEMAPHORE%" (
3838
goto :DONE
3939
)
4040

41-
ifexist"%TOOLRUNTIME_DIR%"rmdir /S /Q"%TOOLRUNTIME_DIR%"
42-
4341
:: Download Nuget.exe
4442
ifNOTexist"%PACKAGES_DIR%NuGet.exe" (
4543
ifNOTexist"%PACKAGES_DIR%"mkdir"%PACKAGES_DIR%"
@@ -63,6 +61,7 @@ if errorlevel 1 (
6361
setTOOLS_INIT_RETURN_CODE=1
6462
goto :DONE
6563
)
64+
echo"%DOTNET_TOOLS_VERSION% >>"%DOTNET_TOOLS_PATH%\sdk\%DOTNET_TOOLS_VERSION%"
6665
:afterdotnettoolsrestore
6766

6867
set /pDOTNET_VERSION=<"%~dp0DotnetCLIVersion.txt"

‎scripts/dotnet-install.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function GetHTTPResponse([Uri] $Uri)
188188
}
189189
# Default timeout for HttpClient is 100s. For a 50 MB download this assumes 500 KB/s average, any less will time out
190190
# 10 minutes allows it to work over much slower connections.
191-
$HttpClient.Timeout=New-TimeSpan-Minutes10
191+
$HttpClient.Timeout=New-TimeSpan-Minutes20
192192
$Response=$HttpClient.GetAsync($Uri).Result
193193
if (($Response-eq$null)-or (-not ($Response.IsSuccessStatusCode)))
194194
{

‎src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.props‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
5858
<PropertyGroupCondition="'$(DOTNET_HOST_PATH)' != ''">
5959
<FscToolPathCondition="'$(FscToolPath)' == ''">$([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH)))</FscToolPath>
6060
<FscToolExeCondition="'$(FscToolExe)' == ''">$([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH)))</FscToolExe>
61-
<DotnetFscCompilerPath>"$(MSBuildThisFileDirectory)fsc.exe"</DotnetFscCompilerPath>
61+
<DotnetFscCompilerPathCondition="'$(DotnetFscCompilerPath)' == ''">"$(MSBuildThisFileDirectory)fsc.exe"</DotnetFscCompilerPath>
6262
</PropertyGroup>
6363

6464
<ItemGroupCondition="'$(DisableImplicitSystemValueTupleReference)' != 'true'

‎tests/fsharp/core/byrefs/test3.bsl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ but given a
77
'inref<DateTime>'
88
The type 'ByRefKinds.InOut' doesnot match the type 'ByRefKinds.In'
99

10-
test3.fsx(44,9,44,20): typecheck errorFS3247: Cannot call the byref extension method 'Change. The first parameter requires the valueto be mutableor a non-readonly byref type.
10+
test3.fsx(44,9,44,20): typecheck errorFS3237: Cannot call the byref extension method 'Change. The first parameter requires the valueto be mutableor a non-readonly byref type.
1111

1212
test3.fsx(49,19,49,30): typecheck error FS3237: Cannot call the byref extension method 'Test2. The first parameter requires the valueto be mutableor a non-readonly byref type.
1313

14-
test3.fsx(55,9,55,21): typecheck errorFS3247: Cannot call the byref extension method 'Change. The first parameter requires the valueto be mutableor a non-readonly byref type.
14+
test3.fsx(55,9,55,21): typecheck errorFS3237: Cannot call the byref extension method 'Change. The first parameter requires the valueto be mutableor a non-readonly byref type.
1515

1616
test3.fsx(59,17,59,29): typecheck error FS3239: Cannot partially apply the extension method 'NotChange' because the first parameter is a byref type.
1717

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp