srecord WithToString extends Var { S string; *() {} *(A a, S *string) { super(a); } toString { ret string; } }