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
Today, Differentiable derived conformances will treat any `let` stored property as if it had @noDerivative, because the synthesized move(along🙂 needs to call to move(along🙂 on each stored property. However, class-bound properties' move(along🙂 can be called even if they are let properties.
Additional Detail from JIRA
md5: d50cde41f3668a222061ebf2c3495f14
Issue Description:
Today,
Differentiable
derived conformances will treat any `let` stored property as if it had@noDerivative
, because the synthesizedmove(along🙂
needs to call tomove(along🙂
on each stored property. However, class-bound properties'move(along🙂
can be called even if they arelet
properties.The following code should work.
The property inclusion rule in the
Differentiable
derived conformances should be corrected to only reject non-class-boundlet
properties.(Working on an implementation as I'm typing this.)
The text was updated successfully, but these errors were encountered: