Skip to content

Integrate sourcelink #950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 30 commits into from
Jun 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
eb0fb19
Added readme file with testing proposal
vzarytovskii Jun 8, 2020
d38b1a3
[WIP] Moving to xUnit
vzarytovskii Jun 9, 2020
d0306f0
[WIP] Migrate Compiler.UnitTests to xUnit
vzarytovskii Jun 9, 2020
f8b3b4e
Use FluentAssertions in unit tests
vzarytovskii Jun 9, 2020
b0bd54d
Added new xUnit test project Compiler.UnitTests
vzarytovskii Jun 9, 2020
49347bc
Fixed CompilerAssert for non-windows; Updated README
vzarytovskii Jun 10, 2020
9f819b5
Fix paths when search for nuget packages
vzarytovskii Jun 15, 2020
68514a6
Confirms that dobang is not, in fact, simple (#9413)
baronfel Jun 10, 2020
2e766b5
Fix missing versions in FSharp.Compiler.Service interactive logo. (#9…
nightroman Jun 10, 2020
6856d2c
perform sourceExpr translation on match-bang expressions (#9407)
baronfel Jun 11, 2020
f375e08
Replace throw with EDI throw in CE catch handlers, fixes #8529 (#8882)
NinoFloris Jun 11, 2020
a62b74c
Fix recovery #9420 (#9426)
KevinRansom Jun 11, 2020
996bb82
Fixed paths if NUGET_PACKAGES is defined (do not apppend '.nuget/pack…
vzarytovskii Jun 15, 2020
37b2be1
Fixed platform name 'windows'->'win'
vzarytovskii Jun 15, 2020
3f9b5aa
Fixed path to FSI for scripts tests
vzarytovskii Jun 15, 2020
34ff477
Revert acccidental typo
vzarytovskii Jun 15, 2020
975e10c
migrate to netcoreapp3.1 (#9448)
brettfo Jun 15, 2020
fae0dff
Use netcoreapp3.1 in tests as well
vzarytovskii Jun 16, 2020
204fd35
Revert "Use netcoreapp3.1 in tests as well"
vzarytovskii Jun 16, 2020
7b29b0f
Fix 9449 (#9456)
dsyme Jun 16, 2020
e3e5617
Small improvement for String.length (#9469)
abelbraaksma Jun 17, 2020
c6a5f50
Move `String.length` to the top of its module so that the `length` fu…
abelbraaksma Jun 18, 2020
25db4ec
enable sourcelink packaging for FCS, and embed PDBs
baronfel Jun 18, 2020
5fd183f
nameof fixes (#9498)
dsyme Jun 18, 2020
217f7f2
reset vs tool version (#9500)
brettfo Jun 18, 2020
8b0e119
update workflows to always upload test results/not fail when one fail…
baronfel Jun 20, 2020
87f7353
update baseline for semver diff
baronfel Jun 20, 2020
184d6c5
release notes
baronfel Jun 20, 2020
31b30b3
handle known test failures
baronfel Jun 20, 2020
19d9e06
split ci steps and handle failures in a different way
baronfel Jun 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@ jobs:
build:

strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
dotnet: [3.1.201] # TODO: wish this action didn't pin versions...
dotnet: [3.1.301] # TODO: wish this action didn't pin versions...
include:
- os: windows-latest
knownFailure: false
- os: macos-latest
knownFailure: true
- os: ubuntu-latest
knownFailure: true
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -20,11 +28,16 @@ jobs:
- name: Restore tools
run: dotnet tool restore
working-directory: ./fcs
- name: Build and test
run: dotnet fake build -t TestAndNuGet
- name: Build
run: dotnet fake build -t Build
working-directory: ./fcs
- name: Test
run: dotnet fake build -s -t Test
working-directory: ./fcs
if: ${{ !matrix.knownFailure }}
- name: Archive code coverage results
uses: actions/upload-artifact@v2
if: always()
with:
name: code-coverage-report
name: code-coverage-report-${{ matrix.os }}-${{ env.GITHUB_SHA }}
path: ${{ github.workspace }}/artifacts/TestResults/Release/FSharp.Compiler.Service.Test.*.xml
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.201
dotnet-version: 3.1.301
- name: Restore tools
run: dotnet tool restore
working-directory: ./fcs
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [macos-latest]
dotnet: [3.1.201]
dotnet: [3.1.301]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -23,21 +23,21 @@ jobs:
- name: Restore tools
run: dotnet tool restore
working-directory: ./fcs
- name: Build and Test
run: dotnet fake build -t TestAndNuget
- name: Build and package
run: dotnet fake build -t NuGet
working-directory: ./fcs
- name: Validate package bump
run: dotnet fake build -s -t ValidateVersionBump
working-directory: ./fcs
- name: Publish to nuget
run: dotnet fake build -s -t PublishNuget
working-directory: ./fcs
env:
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}
- name: Create release
run: dotnet fake build -s -t CreateRelease
working-directory: ./fcs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to nuget
run: dotnet fake build -s -t PublishNuget
working-directory: ./fcs
env:
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}


1 change: 1 addition & 0 deletions FSharpBuild.Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<!-- directory locations -->
<PropertyGroup>
<FSharpSourcesRoot>$(RepoRoot)src</FSharpSourcesRoot>
<FSharpTestsRoot>$(RepoRoot)tests</FSharpTestsRoot>
<SymStoreDirectory>$(ArtifactsDir)\SymStore</SymStoreDirectory>
<ProtoOutputPath>$(ArtifactsDir)\Bootstrap</ProtoOutputPath>
<ValueTupleImplicitPackageVersion>4.4.0</ValueTupleImplicitPackageVersion>
Expand Down
6 changes: 3 additions & 3 deletions FSharpTests.Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
<FscToolPath>$([System.IO.Path]::GetDirectoryName('$(DOTNET_HOST_PATH)'))</FscToolPath>
<FscToolExe Condition="'$(OS)' != 'Unix'">dotnet.exe</FscToolExe>
<FscToolExe Condition="'$(OS)' == 'Unix'">dotnet</FscToolExe>
<DotnetFscCompilerPath>$(MSBuildThisFileDirectory)artifacts\bin\fsc\$(Configuration)\netcoreapp3.0\fsc.exe</DotnetFscCompilerPath>
<DotnetFscCompilerPath>$(MSBuildThisFileDirectory)artifacts\bin\fsc\$(Configuration)\netcoreapp3.1\fsc.exe</DotnetFscCompilerPath>

<FsiToolPath>$([System.IO.Path]::GetDirectoryName('$(DOTNET_HOST_PATH)'))</FsiToolPath>
<FsiToolExe Condition="'$(OS)' != 'Unix'">dotnet.exe</FsiToolExe>
<FsiToolExe Condition="'$(OS)' == 'Unix'">dotnet</FsiToolExe>
<DotnetFsiCompilerPath>$(MSBuildThisFileDirectory)artifacts\bin\fsi\$(Configuration)\netcoreapp3.0\fsi.exe</DotnetFsiCompilerPath>
<DotnetFsiCompilerPath>$(MSBuildThisFileDirectory)artifacts\bin\fsi\$(Configuration)\netcoreapp3.1\fsi.exe</DotnetFsiCompilerPath>
</PropertyGroup>

<!-- SDK targets override -->
<PropertyGroup>
<_FSharpBuildTargetFramework Condition="'$(MSBuildRuntimeType)'!='Core'">net472</_FSharpBuildTargetFramework>
<_FSharpBuildTargetFramework Condition="'$(MSBuildRuntimeType)'=='Core'">netcoreapp3.0</_FSharpBuildTargetFramework>
<_FSharpBuildTargetFramework Condition="'$(MSBuildRuntimeType)'=='Core'">netcoreapp3.1</_FSharpBuildTargetFramework>
<_FSharpBuildBinPath>$(MSBuildThisFileDirectory)artifacts\bin\fsc\$(Configuration)\$(_FSharpBuildTargetFramework)</_FSharpBuildBinPath>

<FSharpBuildAssemblyFile>$(_FSharpBuildBinPath)\FSharp.Build.dll</FSharpBuildAssemblyFile>
Expand Down
1 change: 1 addition & 0 deletions clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ DEAD_DIRS=(
"TESTGUIDE.md"
"tests/EndToEndBuildTests"
"tests/FSharp.Build.UnitTests"
"tests/FSharp.Compiler.ComponentTests"
"tests/FSharp.Compiler.Private.Scripting.UnitTests"
"tests/FSharp.Compiler.UnitTests"
"tests/FSharp.Core.UnitTests"
Expand Down
16 changes: 9 additions & 7 deletions eng/Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ function Process-Arguments() {

function Update-Arguments() {
if ($script:noVisualStudio) {
$script:bootstrapTfm = "netcoreapp3.0"
$script:bootstrapTfm = "netcoreapp3.1"
$script:msbuildEngine = "dotnet"
}

if ($bootstrapTfm -eq "netcoreapp3.0") {
if ($bootstrapTfm -eq "netcoreapp3.1") {
if (-Not (Test-Path "$ArtifactsDir\Bootstrap\fsc\fsc.runtimeconfig.json")) {
$script:bootstrap = $True
}
Expand All @@ -178,7 +178,7 @@ function BuildSolution() {
$officialBuildId = if ($official) { $env:BUILD_BUILDNUMBER } else { "" }
$toolsetBuildProj = InitializeToolset
$quietRestore = !$ci
$testTargetFrameworks = if ($testCoreClr) { "netcoreapp3.0" } else { "" }
$testTargetFrameworks = if ($testCoreClr) { "netcoreapp3.1" } else { "" }

# Do not set the property to true explicitly, since that would override value projects might set.
$suppressExtensionDeployment = if (!$deployExtensions) { "/p:DeployExtension=false" } else { "" }
Expand Down Expand Up @@ -264,7 +264,7 @@ function TestUsingNUnit([string] $testProject, [string] $targetFramework) {
}

function BuildCompiler() {
if ($bootstrapTfm -eq "netcoreapp3.0") {
if ($bootstrapTfm -eq "netcoreapp3.1") {
$dotnetPath = InitializeDotNetCli
$dotnetExe = Join-Path $dotnetPath "dotnet.exe"
$fscProject = "$RepoRoot\src\fsharp\fsc\fsc.fsproj"
Expand All @@ -277,14 +277,14 @@ function BuildCompiler() {
$logFilePath = Join-Path $LogDir "fscBootstrapLog.binlog"
$args += " /bl:$logFilePath"
}
$args = "build $fscProject -c $configuration -v $verbosity -f netcoreapp3.0" + $argNoRestore + $argNoIncremental
$args = "build $fscProject -c $configuration -v $verbosity -f netcoreapp3.1" + $argNoRestore + $argNoIncremental
Exec-Console $dotnetExe $args

if ($binaryLog) {
$logFilePath = Join-Path $LogDir "fsiBootstrapLog.binlog"
$args += " /bl:$logFilePath"
}
$args = "build $fsiProject -c $configuration -v $verbosity -f netcoreapp3.0" + $argNoRestore + $argNoIncremental
$args = "build $fsiProject -c $configuration -v $verbosity -f netcoreapp3.1" + $argNoRestore + $argNoIncremental
Exec-Console $dotnetExe $args
}
}
Expand Down Expand Up @@ -448,9 +448,10 @@ try {
$script:BuildCategory = "Test"
$script:BuildMessage = "Failure running tests"
$desktopTargetFramework = "net472"
$coreclrTargetFramework = "netcoreapp3.0"
$coreclrTargetFramework = "netcoreapp3.1"

if ($testDesktop -and -not $noVisualStudio) {
TestUsingNUnit -testProject "$RepoRoot\tests\FSharp.Compiler.ComponentTests\FSharp.Compiler.ComponentTests.fsproj" -targetFramework $desktopTargetFramework
TestUsingNUnit -testProject "$RepoRoot\tests\FSharp.Compiler.UnitTests\FSharp.Compiler.UnitTests.fsproj" -targetFramework $desktopTargetFramework
TestUsingNUnit -testProject "$RepoRoot\tests\FSharp.Compiler.Private.Scripting.UnitTests\FSharp.Compiler.Private.Scripting.UnitTests.fsproj" -targetFramework $desktopTargetFramework
TestUsingNUnit -testProject "$RepoRoot\tests\FSharp.Build.UnitTests\FSharp.Build.UnitTests.fsproj" -targetFramework $desktopTargetFramework
Expand All @@ -459,6 +460,7 @@ try {
}

if ($testCoreClr) {
TestUsingNUnit -testProject "$RepoRoot\tests\FSharp.Compiler.ComponentTests\FSharp.Compiler.ComponentTests.fsproj" -targetFramework $coreclrTargetFramework
TestUsingNUnit -testProject "$RepoRoot\tests\FSharp.Compiler.UnitTests\FSharp.Compiler.UnitTests.fsproj" -targetFramework $coreclrTargetFramework
TestUsingNUnit -testProject "$RepoRoot\tests\FSharp.Compiler.Private.Scripting.UnitTests\FSharp.Compiler.Private.Scripting.UnitTests.fsproj" -targetFramework $coreclrTargetFramework
TestUsingNUnit -testProject "$RepoRoot\tests\FSharp.Build.UnitTests\FSharp.Build.UnitTests.fsproj" -targetFramework $coreclrTargetFramework
Expand Down
4 changes: 3 additions & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
<MicrosoftNetCompilersVersion>2.7.0</MicrosoftNetCompilersVersion>
<MicrosoftNETCoreILDAsmVersion>3.0.0-preview-27318-01</MicrosoftNETCoreILDAsmVersion>
<MicrosoftNETCoreILAsmVersion>3.0.0-preview-27318-01</MicrosoftNETCoreILAsmVersion>
<MicrosoftNETTestSdkVersion>15.8.0</MicrosoftNETTestSdkVersion>
<MicrosoftNETTestSdkVersion>16.6.1</MicrosoftNETTestSdkVersion>
<MicrosoftWin32RegistryVersion>4.3.0</MicrosoftWin32RegistryVersion>
<NewtonsoftJsonVersion>9.0.1</NewtonsoftJsonVersion>
<NUnitVersion>3.11.0</NUnitVersion>
Expand All @@ -186,5 +186,7 @@
<RoslynToolsSignToolVersion>1.0.0-beta2-dev3</RoslynToolsSignToolVersion>
<StrawberryPerlVersion>5.28.0.1</StrawberryPerlVersion>
<StreamJsonRpcVersion>2.0.187</StreamJsonRpcVersion>
<XUnitVersion>2.4.1</XUnitVersion>
<FluentAssertionsVersion>5.10.3</FluentAssertionsVersion>
</PropertyGroup>
</Project>
8 changes: 4 additions & 4 deletions eng/build-utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -244,16 +244,16 @@ function Make-BootstrapBuild() {
$argNoRestore = if ($norestore) { " --no-restore" } else { "" }
$argNoIncremental = if ($rebuild) { " --no-incremental" } else { "" }

$args = "build $buildToolsProject -c $bootstrapConfiguration -v $verbosity -f netcoreapp3.0" + $argNoRestore + $argNoIncremental
$args = "build $buildToolsProject -c $bootstrapConfiguration -v $verbosity -f netcoreapp3.1" + $argNoRestore + $argNoIncremental
if ($binaryLog) {
$logFilePath = Join-Path $LogDir "toolsBootstrapLog.binlog"
$args += " /bl:$logFilePath"
}
Exec-Console $dotnetExe $args

Copy-Item "$ArtifactsDir\bin\fslex\$bootstrapConfiguration\netcoreapp3.0" -Destination "$dir\fslex" -Force -Recurse
Copy-Item "$ArtifactsDir\bin\fsyacc\$bootstrapConfiguration\netcoreapp3.0" -Destination "$dir\fsyacc" -Force -Recurse
Copy-Item "$ArtifactsDir\bin\AssemblyCheck\$bootstrapConfiguration\netcoreapp3.0" -Destination "$dir\AssemblyCheck" -Force -Recurse
Copy-Item "$ArtifactsDir\bin\fslex\$bootstrapConfiguration\netcoreapp3.1" -Destination "$dir\fslex" -Force -Recurse
Copy-Item "$ArtifactsDir\bin\fsyacc\$bootstrapConfiguration\netcoreapp3.1" -Destination "$dir\fsyacc" -Force -Recurse
Copy-Item "$ArtifactsDir\bin\AssemblyCheck\$bootstrapConfiguration\netcoreapp3.1" -Destination "$dir\AssemblyCheck" -Force -Recurse

# prepare compiler
$protoProject = "$RepoRoot\proto.proj"
Expand Down
8 changes: 4 additions & 4 deletions eng/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ function BuildSolution {
/t:Publish

mkdir -p "$bootstrap_dir"
cp -pr $artifacts_dir/bin/fslex/$bootstrap_config/netcoreapp3.0/publish $bootstrap_dir/fslex
cp -pr $artifacts_dir/bin/fsyacc/$bootstrap_config/netcoreapp3.0/publish $bootstrap_dir/fsyacc
cp -pr $artifacts_dir/bin/fslex/$bootstrap_config/netcoreapp3.1/publish $bootstrap_dir/fslex
cp -pr $artifacts_dir/bin/fsyacc/$bootstrap_config/netcoreapp3.1/publish $bootstrap_dir/fsyacc
fi
if [ ! -f "$bootstrap_dir/fsc.exe" ]; then
BuildMessage="Error building bootstrap"
Expand All @@ -254,7 +254,7 @@ function BuildSolution {
/p:Configuration=$bootstrap_config \
/t:Publish

cp -pr $artifacts_dir/bin/fsc/$bootstrap_config/netcoreapp3.0/publish $bootstrap_dir/fsc
cp -pr $artifacts_dir/bin/fsc/$bootstrap_config/netcoreapp3.1/publish $bootstrap_dir/fsc
fi

# do real build
Expand Down Expand Up @@ -293,7 +293,7 @@ InitializeDotNetCli $restore
BuildSolution

if [[ "$test_core_clr" == true ]]; then
coreclrtestframework=netcoreapp3.0
coreclrtestframework=netcoreapp3.1
TestUsingNUnit --testproject "$repo_root/tests/FSharp.Compiler.UnitTests/FSharp.Compiler.UnitTests.fsproj" --targetframework $coreclrtestframework
TestUsingNUnit --testproject "$repo_root/tests/FSharp.Compiler.Private.Scripting.UnitTests/FSharp.Compiler.Private.Scripting.UnitTests.fsproj" --targetframework $coreclrtestframework
TestUsingNUnit --testproject "$repo_root/tests/FSharp.Build.UnitTests/FSharp.Build.UnitTests.fsproj" --targetframework $coreclrtestframework
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\netfx.props" />
<Import Project="..\..\eng\Versions.props"/> <!-- keep our test deps in line with the overall compiler -->
<PropertyGroup>
<TargetFrameworks>$(FcsTargetNetFxFramework);netcoreapp3.0</TargetFrameworks>
<TargetFrameworks>$(FcsTargetNetFxFramework);netcoreapp3.1</TargetFrameworks>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<DefaultFSharpPackageVersion>4.1.19</DefaultFSharpPackageVersion>
<NoWarn>$(NoWarn);44;75;</NoWarn>
Expand Down Expand Up @@ -73,7 +73,7 @@
<Compile Include="$(FSharpSourcesRoot)\..\tests\service\ScriptOptionsTests.fs">
<Link>ScriptOptionsTests.fs</Link>
</Compile>
<Compile Include="$(FSharpSourcesRoot)\..\tests\service\Program.fs" Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
<Compile Include="$(FSharpSourcesRoot)\..\tests\service\Program.fs" Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<Link>Program.fs</Link>
</Compile>
<NoneSubstituteText Include="App.config">
Expand Down
4 changes: 4 additions & 0 deletions fcs/FSharp.Compiler.Service/FSharp.Compiler.Service.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
</PropertyGroup>
<Import Project="..\netfx.props" />
<Import Project="..\..\src\buildtools\buildtools.targets" />
<Import Project="..\..\eng\Versions.props" />
<PropertyGroup>
<TargetFrameworks>$(FcsTargetNetFxFramework);netstandard2.0</TargetFrameworks>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
Expand Down Expand Up @@ -33,6 +34,8 @@
<PackageProjectUrl>https://github.com/fsharp/FSharp.Compiler.Service</PackageProjectUrl>
<PackageIcon>logo.png</PackageIcon>
<PackageTags>F#, fsharp, interactive, compiler, editor</PackageTags>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<DefineConstants>$(DefineConstants);FX_NO_PDB_READER</DefineConstants>
Expand Down Expand Up @@ -726,6 +729,7 @@
<PackageReference Include="System.Reflection.Metadata" Version="1.6.0" />
<PackageReference Include="System.Buffers" Version="4.5.0" />
<PackageReference Include="System.Memory" Version="4.5.3" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Reflection.Emit" Version="4.3.0" />
Expand Down
15 changes: 15 additions & 0 deletions fcs/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#### 36.0.2

This is a small bugfix release that I'm making primarily to publish a version
of FCS with sourcelink enabled, so that tooling users can make use of that information.

From dotnet/fsharp:079276b4b..37d0cccec:

* Fixes for `do!` handling in computation expressions (thanks @baronfel)
* Add missing versions in FCS' Interactive header (thanks @nightroman)
* Support `Source`-translation in `match!` expressions (thanks @baronfel)
* Ensure stack traces from uncaught exceptions in CEs are maintained (thanks @NinoFloris)
* Better handling of `inline` in witness-passing codepaths (thanks @dsyme)
* Enable publishing of FCS with sourcelink (thanks @baronfel)
* Extend `nameof` to support naming generic parameters (`nameof<'t>`) and instance members (`nameof(Unchecked.defaultof<C>.Property)`) (thanks @dsyme)

#### 36.0.1

From dotnet/fsharp:522dd906c..16bca5aef:
Expand Down
4 changes: 2 additions & 2 deletions fcs/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ Target.create "Restore" (fun _ ->

Target.create "Build" (fun _ ->
runDotnet __SOURCE_DIRECTORY__ "build" "../src/buildtools/buildtools.proj -v n -c Proto"
let fslexPath = Path.GetFullPath <| Path.Combine(__SOURCE_DIRECTORY__, "../artifacts/bin/fslex/Proto/netcoreapp3.1/fslex.dll")
let fsyaccPath = Path.GetFullPath <| Path.Combine(__SOURCE_DIRECTORY__, "../artifacts/bin/fsyacc/Proto/netcoreapp3.1/fsyacc.dll")
let fslexPath = __SOURCE_DIRECTORY__ + "/../artifacts/bin/fslex/Proto/netcoreapp3.1/fslex.dll"
let fsyaccPath = __SOURCE_DIRECTORY__ + "/../artifacts/bin/fsyacc/Proto/netcoreapp3.1/fsyacc.dll"
runDotnet __SOURCE_DIRECTORY__ "build" (sprintf "FSharp.Compiler.Service.sln -nodereuse:false -v n -c Release /p:DisableCompilerRedirection=true /p:FsLexPath=%s /p:FsYaccPath=%s" fslexPath fsyaccPath)
)

Expand Down
2 changes: 1 addition & 1 deletion fcs/global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "3.1.200",
"version": "3.1.301",
"rollForward":"minor"
}
}
2 changes: 1 addition & 1 deletion fcs/paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ source https://api.nuget.org/v3/index.json
framework: netstandard2.0

storage: packages
nuget FSharp.Compiler.Service 35.0.0
nuget FSharp.Compiler.Service 36.0.1
2 changes: 1 addition & 1 deletion fcs/paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ STORAGE: PACKAGES
RESTRICTION: == netstandard2.0
NUGET
remote: https://api.nuget.org/v3/index.json
FSharp.Compiler.Service (35.0)
FSharp.Compiler.Service (36.0.1)
FSharp.Core (>= 4.6.2)
System.Buffers (>= 4.5)
System.Collections.Immutable (>= 1.5)
Expand Down
2 changes: 1 addition & 1 deletion fcs/samples/EditorService/EditorService.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\netfx.props" />
<PropertyGroup>
<TargetFrameworks>$(FcsTargetNetFxFramework);netcoreapp3.0</TargetFrameworks>
<TargetFrameworks>$(FcsTargetNetFxFramework);netcoreapp3.1</TargetFrameworks>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"tools": {
"dotnet": "3.1.200",
"dotnet": "3.1.301",
"vs": {
"version": "16.4",
"components": [
Expand Down
6 changes: 3 additions & 3 deletions proto.proj
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

<ItemGroup>
<Projects Include="src\fsharp\FSharp.Build\FSharp.Build.fsproj">
<AdditionalProperties Condition="'$(OS)' == 'Unix'">TargetFramework=netcoreapp3.0</AdditionalProperties>
<AdditionalProperties Condition="'$(OS)' == 'Unix'">TargetFramework=netcoreapp3.1</AdditionalProperties>
</Projects>
<Projects Include="src\fsharp\fsc\fsc.fsproj">
<AdditionalProperties Condition="'$(OS)' == 'Unix'">TargetFramework=netcoreapp3.0</AdditionalProperties>
<AdditionalProperties Condition="'$(OS)' == 'Unix'">TargetFramework=netcoreapp3.1</AdditionalProperties>
</Projects>
<Projects Include="src\fsharp\fsi\fsi.fsproj">
<AdditionalProperties Condition="'$(OS)' == 'Unix'">TargetFramework=netcoreapp3.0</AdditionalProperties>
<AdditionalProperties Condition="'$(OS)' == 'Unix'">TargetFramework=netcoreapp3.1</AdditionalProperties>
</Projects>
</ItemGroup>

Expand Down
Loading