disposable
disposable copied to clipboard
Adds test for double coercion bug on subclasses
Hi,
After the switch from Virtus
to DryTypes
we get coercion errors on subclasses. The setter here gets called twice then, the first time with the string, the second time with an already coerced value and results in a TypeError
.
In this pull request I added a test simulating this behaviour.
Thank you
Andreas