Skip to content

Commit d4b0fce

Browse files
authored
Merge pull request #17869 from dotnet/merges/main-to-release/dev17.13
Merge main to release/dev17.13
2 parents 3571f70 + 200b7f4 commit d4b0fce

File tree

14 files changed

+72
-72
lines changed

14 files changed

+72
-72
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
22
{
33
"name": "F#",
4-
"image": "mcr.microsoft.com/dotnet/sdk:9.0.100-rc.1",
4+
"image": "mcr.microsoft.com/dotnet/sdk:9.0.100-rc.2",
55
"features": {
66
"ghcr.io/devcontainers/features/common-utils:2.5.1": {},
77
"ghcr.io/devcontainers/features/git:1.3.2": {},

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ about: Create a report to help us improve F#
44
title: ''
55
labels: [Bug, Needs-Triage]
66
assignees: ''
7-
7+
type: 'Bug'
88
---
99

1010
Please provide a succinct description of the issue.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ about: Suggest an idea for the F# tools or compiler
44
title: ''
55
labels: [Feature Request, Needs-Triage]
66
assignees: ''
7-
7+
type: 'Feature'
88
---
99

1010
**Is your feature request related to a problem? Please describe.**

Directory.Build.props

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
<IgnoreMibc Condition="'$(IgnoreMibc)' == ''">$(DotNetBuildSourceOnly)</IgnoreMibc>
1111
</PropertyGroup>
1212

13+
<PropertyGroup>
14+
<!-- TODO: These need to be removed once we merge/release the new SDK with noward and line fixes. -->
15+
<NoWarn>$(NoWarn);FS0064;FS1182</NoWarn>
16+
</PropertyGroup>
17+
1318
<!--
1419
When developers load the FSharp.Compiler.Service solution we set FSHARPCORE_USE_PACKAGE to true if it hasn't already been set to a value.
1520
This option ensures that building and testing uses the specified FSharp.Core nuget package instead of the local FSharp.Core project.
@@ -47,8 +52,7 @@
4752
<PropertyGroup Condition="'$(BUILDING_USING_DOTNET)' == 'true'">
4853
<DisableAutoSetFscCompilerPath>false</DisableAutoSetFscCompilerPath>
4954

50-
<!-- TODO(vlza): This probably should be `true` once fslib with nullness ships, since shipped library is preferred by default when building this solution. -->
51-
<FSHARPCORE_USE_PACKAGE Condition="'$(FSHARPCORE_USE_PACKAGE)' == ''">false</FSHARPCORE_USE_PACKAGE>
55+
<FSHARPCORE_USE_PACKAGE Condition="'$(FSHARPCORE_USE_PACKAGE)' == ''">true</FSHARPCORE_USE_PACKAGE>
5256

5357
<DISABLE_ARCADE Condition="'$(DISABLE_ARCADE)' == ''">true</DISABLE_ARCADE>
5458
<ArtifactsDir>$(MSBuildThisFileDirectory)artifacts/</ArtifactsDir>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<FSharpLibrariesChangelogVersion>$(FSMajorVersion).$(FSMinorVersion).$(FSBuildVersion)</FSharpLibrariesChangelogVersion>
3838
<!-- -->
3939
<!-- The current published nuget package -->
40-
<FSharpCoreShippedPackageVersionValue>8.0.400</FSharpCoreShippedPackageVersionValue>
40+
<FSharpCoreShippedPackageVersionValue>9.0.100-beta.24466.6</FSharpCoreShippedPackageVersionValue>
4141
<!-- -->
4242
<!-- The pattern for specifying the preview package -->
4343
<FSharpCorePreviewPackageVersionValue>$(FSCorePackageVersionValue)-$(PreReleaseVersionLabel).*</FSharpCorePreviewPackageVersionValue>

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"sdk": {
3-
"version": "9.0.100-rc.1.24452.12",
3+
"version": "9.0.100-rc.2.24474.11",
44
"allowPrerelease": true
55
},
66
"tools": {
7-
"dotnet": "9.0.100-rc.1.24452.12",
7+
"dotnet": "9.0.100-rc.2.24474.11",
88
"vs": {
99
"version": "17.8",
1010
"components": [

src/Compiler/FSharp.Compiler.Service.fsproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@
2626
<TargetFrameworks Condition=" '$(OfficialBuildId)' == '' AND '$(FSharpNetCoreProductDefaultTargetFramework)' != '' AND '$(Configuration)' != 'Proto' AND '$(SKIP_NETCURRENT_FSC_BUILD)' != 'true' ">$(FSharpNetCoreProductDefaultTargetFramework);$(TargetFrameworks)</TargetFrameworks>
2727
<DefineConstants Condition="'$(FSHARPCORE_USE_PACKAGE)' == 'true'">$(DefineConstants);FSHARPCORE_USE_PACKAGE</DefineConstants>
2828
<OtherFlags>$(OtherFlags) --extraoptimizationloops:1</OtherFlags>
29+
30+
<!-- TODO: This needs to be re-enabled once we merge/release the new SDK with noward and line fixes. -->
2931
<!-- 1182: Unused variables -->
30-
<OtherFlags>$(OtherFlags) --warnon:1182</OtherFlags>
32+
<OtherFlags>$(OtherFlags) --nowarn:1182</OtherFlags>
33+
3134
<!-- 3218: ArgumentsInSigAndImplMismatch -->
3235
<OtherFlags>$(OtherFlags) --warnon:3218</OtherFlags>
3336
<!-- 3390: xmlDocBadlyFormed -->

src/Compiler/Service/ServiceLexing.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ module internal LexerStateEncoding =
734734
)
735735
| LexCont.EndLine(ifdefs, stringNest, econt) ->
736736
match econt with
737-
| LexerEndlineContinuation.Skip(n, m) ->
737+
| LexerEndlineContinuation.IfdefSkip(n, m) ->
738738
encodeLexCont (
739739
FSharpTokenizerColorState.EndLineThenSkip,
740740
int64 n,
@@ -834,7 +834,7 @@ module internal LexerStateEncoding =
834834
| FSharpTokenizerColorState.ExtendedInterpolatedString ->
835835
LexCont.String(ifdefs, stringNest, LexerStringStyle.ExtendedInterpolated, stringKind, delimLen, mkRange "file" p1 p1)
836836
| FSharpTokenizerColorState.EndLineThenSkip ->
837-
LexCont.EndLine(ifdefs, stringNest, LexerEndlineContinuation.Skip(n1, mkRange "file" p1 p1))
837+
LexCont.EndLine(ifdefs, stringNest, LexerEndlineContinuation.IfdefSkip(n1, mkRange "file" p1 p1))
838838
| FSharpTokenizerColorState.EndLineThenToken -> LexCont.EndLine(ifdefs, stringNest, LexerEndlineContinuation.Token)
839839
| _ -> LexCont.Token([], stringNest)
840840

src/Compiler/SyntaxTree/LexHelpers.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ let errorsInByteStringBuffer (buf: ByteBuffer) =
249249
else
250250
None
251251

252-
let newline (lexbuf: LexBuffer<_>) = lexbuf.EndPos <- lexbuf.EndPos.NextLine
252+
let incrLine (lexbuf: LexBuffer<_>) = lexbuf.EndPos <- lexbuf.EndPos.NextLine
253253

254254
let advanceColumnBy (lexbuf: LexBuffer<_>) n =
255255
lexbuf.EndPos <- lexbuf.EndPos.ShiftColumnBy(n)

src/Compiler/SyntaxTree/LexHelpers.fsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ type LargerThanOneByte = int
101101
type LargerThan127ButInsideByte = int
102102
val errorsInByteStringBuffer: ByteBuffer -> Option<LargerThanOneByte * LargerThan127ButInsideByte>
103103

104-
val newline: Lexing.LexBuffer<'a> -> unit
104+
val incrLine: Lexing.LexBuffer<'a> -> unit
105105

106106
val advanceColumnBy: Lexing.LexBuffer<'a> -> n: int -> unit
107107

0 commit comments

Comments
 (0)