You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this by reading the source of VisitArrayAccessSyntax in the TypeAssignmentVisitor class. We don't appear to have a case for discriminated object types.
In a similar vein, the AreTypesAssignable method will not return correct result when target type is object and the source type is a discriminated object type.
The text was updated successfully, but these errors were encountered:
I found this by reading the source of
VisitArrayAccessSyntax
in theTypeAssignmentVisitor
class. We don't appear to have a case for discriminated object types.In a similar vein, the
AreTypesAssignable
method will not return correct result when target type isobject
and the source type is a discriminated object type.The text was updated successfully, but these errors were encountered: