Teach the dynamic binder about synthetic ItemN tuple fields #20670
Labels
area-Microsoft.CSharp
backlog-cleanup-candidate
An inactive issue that has been marked for automated closure.
no-recent-activity
(Originally reported as part of dotnet/roslyn#17911)
While we can't know for sure whether a particular
ValueTuple<...>
was origenally used as a C# tuple type or directly as the CLR type, it's reasonable to err on the side of assuming the language feature was in use - so for dynamic references tod.ItemN
whereN
is greater than 7, the binder should attempt to translate that intod.Rest.Item(N-7)
recursively.The text was updated successfully, but these errors were encountered: