Closed brettviren closed 3 years ago
When a moo.otypes class with such a default field is instantiated get an error like:
moo.otypes
> code = compile(source, "<{schema} {name}>".format(**ost), "exec") E File "<record Thing>", line 10 E def __init__(self, *args, name:test.issue10.Name = ): E ^ E SyntaxError: invalid syntax
Adding test: test_moo_otypes.py:test_issue10()
test_moo_otypes.py:test_issue10()
When a
moo.otypes
class with such a default field is instantiated get an error like:Adding test:
test_moo_otypes.py:test_issue10()