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
It can be worked around by creating a blanket implementation for the trait Backend for all types that implement SmartContract + ProofSystemCompiler + Default + Debug but it's not ideal.
Another workaround is to have each function with a T: Backend bound replaced with the inherited bounds instead: T: SmartContract + ProofSystemCompiler + Default + Debug
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Problem
We'd like to be able to define a trait as a combination of other traits.
Happy Case
The following syntax should compile:
Alternatives Considered
It can be worked around by creating a blanket implementation for the trait
Backend
for all types that implementSmartContract + ProofSystemCompiler + Default + Debug
but it's not ideal.Another workaround is to have each function with a
T: Backend
bound replaced with the inherited bounds instead:T: SmartContract + ProofSystemCompiler + Default + Debug
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: