Skip to content

[Feature] Constant Interpolated Strings- Versioning Check & Test Suite#45685

Merged
kevinsun-dev merged 17 commits intodotnet:features/interpolated-string-constantsfrom
kevinsun-dev:features/interpolated-string-constants
Jul 14, 2020
Merged

[Feature] Constant Interpolated Strings- Versioning Check & Test Suite#45685
kevinsun-dev merged 17 commits intodotnet:features/interpolated-string-constantsfrom
kevinsun-dev:features/interpolated-string-constants

Conversation

@kevinsun-dev
Copy link
Contributor

@kevinsun-dev kevinsun-dev commented Jul 6, 2020

[Feature] Constant Interpolated Strings

New in this PR:

  • Versioning Check for Constant Interpolated Strings
  • Updated Tests

@333fred
Copy link
Member

333fred commented Jul 7, 2020

Done review pass (commit 7) #Closed

@333fred
Copy link
Member

333fred commented Jul 8, 2020

Done review pass (commit 8) #Closed

@333fred
Copy link
Member

333fred commented Jul 9, 2020

Done review pass (commit 9). Just a couple more tests. #Closed

@333fred
Copy link
Member

333fred commented Jul 10, 2020

Done review pass (commit 11) #Closed

@333fred
Copy link
Member

333fred commented Jul 10, 2020

Done review pass (commit 12). One more small rename and I think this should be good.

333fred
333fred previously approved these changes Jul 10, 2020
Copy link
Member

@333fred 333fred left a comment

Choose a reason for hiding this comment

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

LGTM (commit 15). @dotnet/roslyn-compiler for a second review.

@333fred
Copy link
Member

333fred commented Jul 10, 2020

Test failures appear legitimate.

Compilers.sln Outdated
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CSharpSyntaxGenerator", "src\Tools\Source\CompilerGeneratorTools\Source\CSharpSyntaxGenerator\CSharpSyntaxGenerator.csproj", "{288089C5-8721-458E-BE3E-78990DAB5E2D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IOperationGenerator", "src\Tools\Source\CompilerGeneratorTools\Source\IOperationGenerator\CompilersIOperationGenerator.csproj", "{D0A79850-B32A-45E5-9FD5-D43CB345867A}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CompilersIOperationGenerator", "src\Tools\Source\CompilerGeneratorTools\Source\IOperationGenerator\CompilersIOperationGenerator.csproj", "{D0A79850-B32A-45E5-9FD5-D43CB345867A}"
Copy link
Member

Choose a reason for hiding this comment

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

These changes seem unrelated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't quite know how that got in there, I thought I explicitly left it out, like I had for the past several commits. Does it make enough of a difference to remove it?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, please remove it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Huh, git checkout can revert just a single file. That's a really convenient trick.

@333fred 333fred self-requested a review July 11, 2020 04:04
@333fred 333fred dismissed their stale review July 11, 2020 04:04

New things.

@333fred
Copy link
Member

333fred commented Jul 13, 2020

@dotnet/roslyn-compiler for a second review.

@gafter gafter self-requested a review July 14, 2020 17:06
}
}";
var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview);
comp.VerifyDiagnostics();
Copy link
Member

@gafter gafter Jul 14, 2020

Choose a reason for hiding this comment

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

VerifyDiagnostics [](start = 17, length = 17)

Can you also please verify diagnostics for a C# 8 compilation? Never mind, tested elsewhere. #Resolved

Copy link
Member

@gafter gafter left a comment

Choose a reason for hiding this comment

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

:shipit:

@kevinsun-dev kevinsun-dev merged commit 46ef3b7 into dotnet:features/interpolated-string-constants Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants