-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Support Range for non ValueTuple by remove the GetOffsetAndLength method #93
Comments
Things like |
The final codegen of swapping variables not using |
But |
You are trying to construct a ValueTuple at the right expression |
... |
Description (optional)
Support
Range
for nonValueTuple
by remove theGetOffsetAndLength
methodRationale
Code like
"Hello World"[..5]
does not need to useRange
. It just be compiled to"Hello World".Substring(0, 5)
. So please removeGetOffsetAndLength
whenValueTuple
is not referenced like this Range.cs.The text was updated successfully, but these errors were encountered: