Closed kgreav closed 3 years ago
It is probably that it doesn't correctly detect __init__
being defined on a subclass. I will take a look.
OK, fixed locally by adding a marker for dataclassy-defined functions. I just want to write some tests before confirming as fixed.
excellent, thanks a bunch
Sorry, it took me way longer than expected to get around to pushing this.
No worries, I shall upgrade soon to keep testing the latest version.
As of version 0.7.0 it looks like inheritance no longer works the way it used to. I assume this is a bug as there was no breaking change documented, but lmk if I'm wrong.
Basically this used to work:
But as of version 0.7.0 throws:
I suspect this is in relation to the __post_init__ changes. If I get time tomorrow/on the weekend I'll have a look, but you may have a better idea than me :)