@infer_type.implementation(for_type=ast.Repeat)<EOL>def infer_type(expr, scope):
return infer_type(expr.children[<NUM_LIT:0>], scope)<EOL>
Check the type of the repeated value (all members have the same type.)