Stewart Gordon wrote:
Chris Nicholson-Sauls wrote:
<snip>
Suggest: Array operation '<OP>' not implemented for type <T>[].

Where <OP> is here '+' and <T> is here char.

It doesn't quite work like that. AIUI the only supported way of using array operations is assigning the result to an array slice, which this isn't.


Just double-checked the spec, and yes, array ops are triggered by a slice appearing as an lvalue. So, a different error message entirely is warranted.

-- Chris Nicholson-Sauls

Reply via email to