17506, "e-kayrakli", "Should string/bytes multiplication be commutative?", "2021-04-01T00:29:59Z"
Today we can do:
writeln("foo"*3);
writeln(b"foo"*3);
but we cannot do
writeln(3*"foo");
writeln(3*b"foo"); // I was curious whether this would parse, it does (but doesn't resolve)
because we don't have the overloads of these operator with symmetric arguments.
I think we should support int*string
and int*bytes
operations, as well.