hydration
hydration copied to clipboard
Uninitialized fields cannot be Vector lengths
Description
hydration
doesn't fail immediately when using initialized fields as vector lengths, gives an unclear RuntimeError
To Reproduce Define an invalid vector:
class TestStruct(Struct):
a = UInt16
v = Vector(a)
Expected behavior A clear and concise error that the field must be initialized