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
Thanks, @sharwell ! What a confusing corner case, I was not realized any kind of member access would copy the struct in generic code since compiler can't tell if T is readonly struct or not...
Version Used:
master branch @ feb 5
Steps to Reproduce:
Compile the following code:
Expected Behavior:
Successful compilation, the same as for
ref
extension version:Actual Behavior:
The text was updated successfully, but these errors were encountered: