-
Notifications
You must be signed in to change notification settings - Fork 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
Standardize list pattern lowering on Index
constructor.
#5484
Conversation
Fixes dotnet#57825. Relevant spec adjustment dotnet/csharplang#5484.
&& expr[0] is 1 | ||
&& expr[1] is 2 | ||
&& expr[2] is 3 | ||
&& expr[new Index(0, fromEnd: false)] is 1 | ||
&& expr[new Index(1, fromEnd: false)] is 2 | ||
&& expr[new Index(2, fromEnd: false)] is 3 |
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.
(if compatible via implicit
Index
support)
This section presents the lowering with implicit indexer (using an int arg)
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.
This section presents the lowering with implicit indexer (using an int arg)
Removed the reference to the implicit indexer there.
Fixes #57825. Relevant spec adjustment dotnet/csharplang#5484.
Related to dotnet/roslyn#57825