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
#[pyclass]// No `(subclass)`!pubstructBaseClass{}#[pyclass(extends=BaseClass)]pubstructSubClass{}
It'd be nice if we could detect this at compile-time instead. This should be simple: make a bound that isn't true for non-subclassable classes, possibly even with a nice #[diagnostics::on_unimplemented].
I can work on this later.
The text was updated successfully, but these errors were encountered:
The following compiles, but crashes at runtime:
It'd be nice if we could detect this at compile-time instead. This should be simple: make a bound that isn't true for non-subclassable classes, possibly even with a nice
#[diagnostics::on_unimplemented]
.I can work on this later.
The text was updated successfully, but these errors were encountered: