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
So we define Rooted<T> ourselves to be a simple T wrapper, but for some kinds of values on C++, it is a bit more complex than that, going through MaybeWrapped<T> and ultimately storing a DispatchWrapper<T> which has more fields than a simple T.
So what happens with types such as AutoSaveExceptionState which include a RootedObject, which should actually be using the DispatchWrapper<T> wrapper? Doesn't that mean the layout of that struct is wrong?
So we define
Rooted<T>
ourselves to be a simpleT
wrapper, but for some kinds of values on C++, it is a bit more complex than that, going throughMaybeWrapped<T>
and ultimately storing aDispatchWrapper<T>
which has more fields than a simpleT
.So what happens with types such as
AutoSaveExceptionState
which include aRootedObject
, which should actually be using theDispatchWrapper<T>
wrapper? Doesn't that mean the layout of that struct is wrong?The text was updated successfully, but these errors were encountered: