[io] InputSpec
fix VarRep to ExprRep to handle the generic case when the repeat is an arbitrary expression