Skip to content

Add LanguageVersion for C# 13#74215

Merged
jcouv merged 2 commits intodotnet:mainfrom
jcouv:langver-13
Jul 2, 2024
Merged

Add LanguageVersion for C# 13#74215
jcouv merged 2 commits intodotnet:mainfrom
jcouv:langver-13

Conversation

@jcouv
Copy link
Member

@jcouv jcouv commented Jun 29, 2024

Pinged Lee and Rahul by email to update releases.json

Update: the releases.json change should be made around the RC1 for new SDK. Here's the corresponding change: https://github.com/dotnet/core/blob/125ce0692fdf14e4258300b8ed01a24f90235fa1/release-notes/9.0/preview/rc1/release.json#L124

@ghost ghost added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Jun 29, 2024
@jcouv jcouv self-assigned this Jul 1, 2024
@jcouv jcouv marked this pull request as ready for review July 1, 2024 18:59
@jcouv jcouv requested review from a team as code owners July 1, 2024 18:59
@RikkiGibson RikkiGibson self-assigned this Jul 1, 2024
[Fact]
public void TestEscapeInInterpolatedSimpleString_E_Preview()
=> Test("$\"\\e\"", @"['\u001B',[2,4]]", CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.Preview));
=> Test("$\"\\e\"", @"['\u001B',[2,4]]");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It feels reasonable to update these tests by using LanguageVersion.CSharp12 for the failure case and CSharp13 for the success case, and renaming the tests accordingly

Co-authored-by: Rikki Gibson <rikkigibson@gmail.com>
@jcouv jcouv enabled auto-merge (squash) July 2, 2024 00:02
@jcouv jcouv merged commit 70be0c7 into dotnet:main Jul 2, 2024
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jul 2, 2024
@SystematicChaos012
Copy link

Does this mean that the remaining features will be updated in C# 14?

@jcouv jcouv deleted the langver-13 branch July 2, 2024 04:56
@jcouv
Copy link
Member Author

jcouv commented Jul 2, 2024

@SystematicChaos012 No, there are a few more feature that we're still working on but expect to make it into C# 13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants