The typechecker should really check for this, but at least now there's an error message rather than an inexhaustive match failure in trans.