Addition of structs

One test on ./driver.py fails, pointing to the main current issue with struct typing (see TODOs in resolvetyping)
Is it possible to need whatever the side effects of createRecord() are before the record itself is defined? Probably not?