function main(a: field, b: field) { console.assert(-a == b); }