Infer delegate types with -langversion:preview only#53241
Infer delegate types with -langversion:preview only#53241cston merged 3 commits intodotnet:features/compilerfrom
Conversation
jcouv
left a comment
There was a problem hiding this comment.
LGTM Thanks (iteration 3) with one question
I don't believe so, since this method should only be called in cases where In reply to: 834049365 Refers to: src/Compilers/CSharp/Portable/Binder/Binder_Conversions.cs:1189 in 366686a. [](commit_id = 366686a, deletion_comment = False) |
Is this a permanent or a temporary change? It feels like it violates the general principle that language version doesn't affect result of semantic analysis, apart from diagnostics. |
This change is temporary and intended for early previews only. |
Btw, I added a note to test plan as a reminder to revert this change (assuming it gets merged). |
|
@dotnet/roslyn-compiler for a second review of a temporary change for early previews only. |
…vice-featureslayer * upstream/main: (857 commits) Update contrib documentation (dotnet#53504) SImplify Fix out of bound crash in lsp navto. Revert changes to TypeScriptWaitContext wrappers Switch to ROSLYN_TEST_CI for CI detection SImplify Simplify LoggerTestChannel using BlockingCollection Only require telemetry validation in CI Fix out of bound crash in lsp navto. Fix locked comment Update Compiler Test Plan.md (dotnet#53420) Adjust doc comment for NullableWalker.VisitConversion (dotnet#53429) Revert "Infer delegate types with -langversion:preview only (dotnet#53241)" (dotnet#53466) Fix syntax normalizer to add space around before colon in constructor initializer (dotnet#53326) Remove unnecessary property (dotnet#53406) EnC - Tell the debugger about updated type def tokens (dotnet#53217) Revert an error Update PublishData.json Keep trailing trivia so single line if statements don't get badly formatted (dotnet#53414) Fix dead test code (dotnet#53416) ...
…otnet#53241)" (dotnet#53466)" This reverts commit 7d461ed.
See #52448.
Test plan: #52192