Spec for patterns does not define the narrowed type for an ITuple-based pattern #44102
Labels
4 - In Review
A fix for the issue is submitted for review.
Area-Compilers
Documentation
Feature - Pattern Matching
Pattern Matching
Milestone
In
PatternMatchingTests3.cs
, we have a test that confirms that inWhere
Q
is a class that implementsSystem.Runtime.CompilerServices.ITuple
, the type ofi
isSystem.Runtime.CompilerServices.ITuple
. There is nothing in the current specifications that justifies that.The text was updated successfully, but these errors were encountered: