Skip to content

Conversation

@jcouv
Copy link
Member

@jcouv jcouv commented Jun 13, 2025

Follow-up on #78834
This leaves 37 uncategorized follow-up comments (25 in code, 12 in test), down from 95.

Relates to test plan #76130

@jcouv jcouv added the Feature - Extension Everything The extension everything feature label Jun 13, 2025
@jcouv
Copy link
Member Author

jcouv commented Jun 13, 2025

    // Tracked by https://github.com/dotnet/roslyn/issues/76130 : confirm whether we want extension Length/Count to contribute to list-patterns

📝 LDM already made a decision on this (answer: no). I am still tracking an open issue in the spec to revisit the question, so I don't think it's useful to keep a follow-up link here


Refers to: src/Compilers/CSharp/Test/Emit3/Semantics/ExtensionTests.cs:23106 in 569f8df. [](commit_id = 569f8df, deletion_comment = True)


wasError = (Method is not null && method is null) || (SetMethod is not null && setMethod is null);

// Tracked by https://github.com/dotnet/roslyn/issues/76130 : Test with indexers (ie. "method") and in compound assignment (ie. "setMethod")
Copy link
Member Author

Choose a reason for hiding this comment

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

📝 I added a note to indexers follow-up issue. @AlekseyTs, I assume you're already covering this in your current ref analysis work for operators

@jcouv jcouv force-pushed the extensions-issues2 branch from b473bc7 to 6330045 Compare June 13, 2025 22:19
@jcouv jcouv marked this pull request as ready for review June 14, 2025 01:45
@jcouv jcouv requested a review from a team as a code owner June 14, 2025 01:45

wasError = (Method is not null && method is null) || (SetMethod is not null && setMethod is null);

// Tracked by https://github.com/dotnet/roslyn/issues/76130 : Test with indexers (ie. "method") and in compound assignment (ie. "setMethod")
Copy link
Contributor

@AlekseyTs AlekseyTs Jun 16, 2025

Choose a reason for hiding this comment

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

and in compound assignment (ie. "setMethod")

Is the "and in compound assignment (ie. "setMethod")" part covered or tracked somewhere? #Closed

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, the follow-up note was moved to #78829

Copy link
Contributor

@AlekseyTs AlekseyTs Jun 16, 2025

Choose a reason for hiding this comment

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

Yes, the follow-up note was moved to ...

The issue looks indexer specific, but the mentioned scenario is not.

Copy link
Member Author

Choose a reason for hiding this comment

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

For the operator scenario, I left a comment to you to check that you're tracking it as part of operators: #78971 (comment)

Copy link
Contributor

Choose a reason for hiding this comment

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

For the operator scenario ...

I do not think this comment is about an operator scenario, but about a property scenario.

@AlekseyTs
Copy link
Contributor

Done with review pass (commit 14)

@jcouv jcouv requested a review from AlekseyTs June 16, 2025 17:39
Copy link
Contributor

@AlekseyTs AlekseyTs 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)

@jcouv
Copy link
Member Author

jcouv commented Jun 17, 2025

Given this is a comment-only change (ie. no code change), I'm going ahead merging with single review.

@jcouv jcouv merged commit 66b9922 into dotnet:main Jun 17, 2025
24 checks passed
@jcouv jcouv deleted the extensions-issues2 branch June 17, 2025 16:55
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jun 17, 2025
CyrusNajmabadi added a commit to CyrusNajmabadi/roslyn that referenced this pull request Jun 18, 2025
Fix more

Update versions

Fix more

In progress

Flip

Fix

Fix

remove wrapper

Fix

Fix

in progress

Fix DeclarationKind layering

fix

One building

In progress

Breaking out refactoring helpers into core api vs service

VB side

In progress

Move type

workaround

Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/CSharpCompilerExtensions.projitems

Fix SubText ctor parameter verification. (dotnet#78989)

* Fix SubText ctor parameter verification.

This ctor currently throws given a zero length span at the end (and only the end) of the subtext. This evidently became far more prevalent with this (fairly) recent change to optimize newline information in our sourcetext classes. (dotnet#74728)

It doesn't make to allow zero length spans at all locations but at the end of the subtext, so the fix is just to allow construction in that case too.

Big props to Manish Vasani for providing a very actionable repro for this.

Fixes dotnet#78985.

Note there is a potentially related issue outlined in dotnet#76225 that looks attributable to the PR above too. It possible that this addresses that issue too, but I'm not completely convinced.

Extensions: bind unconditionally of LangVer (dotnet#78947)

Extensions: use specific tracking issues for different areas (second pass) (dotnet#78971)

Fix nullable analysis involving extensions and collection expressions (dotnet#78926)

Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/CSharpCompilerExtensions.projitems

in progrss

Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/CompilerExtensions.projitems

Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/VisualBasicCompilerExtensions.projitems

extensions

Fix

RootNamespace

Fixes

Fixes

IN progress

in progress
@RikkiGibson RikkiGibson modified the milestones: Next, 18.0 P1 Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers Feature - Extension Everything The extension everything feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants