Skip to content

Commit 532fd1a

Browse files
author
dotnet-automerge-bot
authored
Merge pull request #6279 from Microsoft/merges/master-to-dev16.1
Merge master to dev16.1
2 parents d1e7b78 + 6122d6a commit 532fd1a

16 files changed

+27
-31
lines changed

BuildToolsVersion.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

DotnetCLIToolsVersion.txt

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

FSharpBuild.Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
</PropertyGroup>
9090

9191
<!-- SDK targets override -->
92-
<PropertyGroup Condition="'$(Configuration)' != 'Proto' AND Exists('$(ProtoOutputPath)')">
92+
<PropertyGroup Condition="'$(Configuration)' != 'Proto' AND '$(DisableCompilerRedirection)'!='true' AND Exists('$(ProtoOutputPath)')">
9393
<FSharpTargetsPath>$(ProtoOutputPath)\Microsoft.FSharp.Targets</FSharpTargetsPath>
9494
<FSharpPropsShim>$(ProtoOutputPath)\Microsoft.FSharp.NetSdk.props</FSharpPropsShim>
9595
<FSharpTargetsShim>$(ProtoOutputPath)\Microsoft.FSharp.NetSdk.targets</FSharpTargetsShim>

fcs/Directory.Build.props

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,11 @@
99
<ArtifactsObjDir>$(ArtifactsDir)\obj</ArtifactsObjDir>
1010
<OutputPath>$(ArtifactsBinDir)\fcs</OutputPath>
1111
<IntermediateOutputPath>$(ArtifactsObjDir)\fcs</IntermediateOutputPath>
12+
<DisableCompilerRedirection>true</DisableCompilerRedirection>
1213
</PropertyGroup>
1314

1415
<!-- SDK targets override -->
1516
<PropertyGroup>
1617
<ProtoOutputPath>$(ArtifactsBinDir)\FSharp.Build\Proto\net46</ProtoOutputPath>
1718
</PropertyGroup>
18-
19-
<PropertyGroup Condition="Exists('$(ProtoOutputPath)')">
20-
<FSharpTargetsPath>$(ProtoOutputPath)\Microsoft.FSharp.Targets</FSharpTargetsPath>
21-
<FSharpPropsShim>$(ProtoOutputPath)\Microsoft.FSharp.NetSdk.props</FSharpPropsShim>
22-
<FSharpTargetsShim>$(ProtoOutputPath)\Microsoft.FSharp.NetSdk.targets</FSharpTargetsShim>
23-
<FSharpOverridesTargetsShim>$(ProtoOutputPath)\Microsoft.FSharp.Overrides.NetSdk.targets</FSharpOverridesTargetsShim>
24-
</PropertyGroup>
2519
</Project>

fcs/build.fsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ let dotnetExePath =
3131
if File.Exists(pathToCli) then
3232
pathToCli
3333
else
34-
DotNetCli.InstallDotNetSDK "2.1.403"
34+
DotNetCli.InstallDotNetSDK "2.1.504"
3535

3636
let runDotnet workingDir args =
3737
let result =
@@ -97,8 +97,7 @@ Target "Build" (fun _ ->
9797

9898
Target "Test" (fun _ ->
9999
// This project file is used for the netcoreapp2.0 tests to work out reference sets
100-
runDotnet __SOURCE_DIRECTORY__ "restore ../tests/projects/Sample_NETCoreSDK_FSharp_Library_netstandard2_0/Sample_NETCoreSDK_FSharp_Library_netstandard2_0.fsproj -v n"
101-
runDotnet __SOURCE_DIRECTORY__ "build ../tests/projects/Sample_NETCoreSDK_FSharp_Library_netstandard2_0/Sample_NETCoreSDK_FSharp_Library_netstandard2_0.fsproj -v n"
100+
runDotnet __SOURCE_DIRECTORY__ "build ../tests/projects/Sample_NETCoreSDK_FSharp_Library_netstandard2_0/Sample_NETCoreSDK_FSharp_Library_netstandard2_0.fsproj -v n /restore /p:DisableCompilerRedirection=true"
102101

103102
// Now run the tests
104103
runDotnet __SOURCE_DIRECTORY__ "test FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj --no-restore --no-build -v n -c release"

src/absil/il.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ let splitTypeNameRight nm =
170170
/// This is used to store event, property and field maps.
171171
type LazyOrderedMultiMap<'Key, 'Data when 'Key : equality>(keyf : 'Data -> 'Key, lazyItems : Lazy<'Data list>) =
172172

173-
let quickMap=
173+
let quickMap =
174174
lazyItems |> lazyMap (fun entries ->
175175
let t = new Dictionary<_, _>(entries.Length, HashIdentity.Structural)
176176
do entries |> List.iter (fun y ->

src/absil/ilread.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,7 @@ and seekReadAssemblyManifest (ctxt: ILMetadataReader) pectxt idx =
16711671
Locale= readStringHeapOption ctxt localeIdx
16721672
CustomAttrsStored = ctxt.customAttrsReader_Assembly
16731673
MetadataIndex = idx
1674-
AssemblyLongevity=
1674+
AssemblyLongevity =
16751675
let masked = flags &&& 0x000e
16761676
if masked = 0x0000 then ILAssemblyLongevity.Unspecified
16771677
elif masked = 0x0002 then ILAssemblyLongevity.Library

src/absil/ilreflect.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ let emEnv0 =
392392
emEntryPts = []
393393
delayedFieldInits = [] }
394394

395-
let envBindTypeRef emEnv (tref:ILTypeRef) (typT, typB, typeDef)=
395+
let envBindTypeRef emEnv (tref:ILTypeRef) (typT, typB, typeDef) =
396396
match typT with
397397
| null -> failwithf "binding null type in envBindTypeRef: %s\n" tref.Name;
398398
| _ -> {emEnv with emTypMap = Zmap.add tref (typT, typB, typeDef, None) emEnv.emTypMap}

src/absil/ilwritepdb.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ let pdbGetPdbDebugInfo (embeddedPDBChunk:BinaryChunk) (uncompressedLength:int64)
172172
iddChunk = embeddedPDBChunk;
173173
}
174174

175-
let pdbGetDebugInfo (mvid:byte[]) (timestamp:int32) (filepath:string) (cvChunk:BinaryChunk) (embeddedPDBChunk:BinaryChunk option) (uncompressedLength:int64) (stream:MemoryStream option)=
175+
let pdbGetDebugInfo (mvid:byte[]) (timestamp:int32) (filepath:string) (cvChunk:BinaryChunk) (embeddedPDBChunk:BinaryChunk option) (uncompressedLength:int64) (stream:MemoryStream option) =
176176
match stream, embeddedPDBChunk with
177177
| None, _ | _, None -> [| pdbGetCvDebugInfo mvid timestamp filepath cvChunk |]
178178
| Some s, Some chunk -> [| pdbGetCvDebugInfo mvid timestamp filepath cvChunk; pdbGetPdbDebugInfo chunk uncompressedLength s; |]

src/fsharp/AugmentWithHashCompare.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ let getAugmentationAttribs g (tycon:Tycon) =
704704
TryFindFSharpBoolAttribute g g.attrib_CustomComparisonAttribute tycon.Attribs,
705705
TryFindFSharpBoolAttribute g g.attrib_StructuralComparisonAttribute tycon.Attribs
706706

707-
let CheckAugmentationAttribs isImplementation g amap (tycon:Tycon)=
707+
let CheckAugmentationAttribs isImplementation g amap (tycon:Tycon) =
708708
let m = tycon.Range
709709
let attribs = getAugmentationAttribs g tycon
710710
match attribs with

0 commit comments

Comments
 (0)