Closed ciaranmcnulty closed 4 years ago
this still does not support UnionType, as it would remove the typehint entirely (which will break the generated child class)
Yes #482 for that right now; I was concentrating on getting the existing behaviours covered
@stof Huh actually this is not breaking the child class for union types. Because we're on 7.2 dropping the type hints doesn't cause an error (although we should ensure the child has the right hints of course)
This fails when presented with a union type (cc @Ayesh)