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
Duplicate of #42601 and maybe a couple of other closed issues.
This is not supposed to work and the fix is kinda on the RFC territory, but given that it's requested regularly, I think it's reasonable to make this change and support Self in value namespace as a constructor alias.
There's an inconsistency when initializing tuple structs as associated constants with
Self
:I'd expect
Self(1)
to work ifSelf { 0: 2 }
works.The text was updated successfully, but these errors were encountered: