-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infer delegate types with -langversion:preview only #53241
Infer delegate types with -langversion:preview only #53241
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (commit 3)
…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