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
{{ message }}
Repository navigation
Different behavior when using a type as is, or as a type aliasΒ #57062
changed the title [-]Different behavior when using a type as is, or as a declared `type`[/-][+]Different behavior when using a type as is, or as a type alias[/+]on Jan 15, 2024
Activity
[-]Different behavior when using a type as is, or as a declared `type`[/-][+]Different behavior when using a type as is, or as a type alias[/+]fatcerberus commentedon Jan 15, 2024
Looks like a variance measurement issue (
Ais erroneously measured as covariant)ehmicky commentedon Jan 15, 2024
Thanks Bruce Pascoe (@fatcerberus). I can confirm this,as the following code works:
whzx5byb commentedon Jan 15, 2024
Duplicate of #48070
ehmicky commentedon Jan 15, 2024
Thanks whzx5byb and sorry for the duplicate. Closing in favor of #48070.