Why this fires¶
super is the callable wrapped by a mixin. Outside a function marked
@mixin, there is no wrapped callable to resolve.
fn value() -> int { super() }
// ^ error[TM100]Fix it¶
Use an ordinary function call, or move the wrapper logic into a mixin:
@mixin
fn traced() -> int { super() }
@traced
fn value() -> int { 7 }See also¶
TM115— invalid explicit arguments tosuper(...).docs/08-decorators.md— decorators and mixins.