Classes and structs should be allowed to inherit from other classes and structs respectively.
class Animal {
}
class CatDog: Animal {
}
struct Sport {
}
struct Football: Sport {
}
Note that a struct
can't inherit from a class
and vice versa, as that would break the reference counting ownership model.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too