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
In theory, #[derive(SomeTrait)] works already now, because the macro simply generates an impl SomeTrait for X block, which we can deal with quite well.
However, the most frequently used traits like Clone, PartialEq generate code that uses very advanced features which stainless doesn't yet support.
In summary: we support the implementation derivation but not the resulting implementations.
=> Discuss: Should we try to support some of the most useful traits, especially Clone?
The text was updated successfully, but these errors were encountered:
In theory,
#[derive(SomeTrait)]
works already now, because the macro simply generates animpl SomeTrait for X
block, which we can deal with quite well.However, the most frequently used traits like
Clone
,PartialEq
generate code that uses very advanced features which stainless doesn't yet support.In summary: we support the implementation derivation but not the resulting implementations.
=> Discuss: Should we try to support some of the most useful traits, especially
Clone
?The text was updated successfully, but these errors were encountered: