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
you would expect !x to always take Ref[T] and make T from it.
But this doesn't work currently if T itself is a reference: e.g. if T = Ref[Int], then !x would give you Ref[Int] (instead you'd like to get Int).
The text was updated successfully, but these errors were encountered:
If you have some template function
you would expect
!x
to always takeRef[T]
and makeT
from it.But this doesn't work currently if
T
itself is a reference: e.g. ifT = Ref[Int]
, then!x
would give youRef[Int]
(instead you'd like to getInt
).The text was updated successfully, but these errors were encountered: