1 2 3 4 5 6 7 8
export fn f() void { var cstr = "Hat"; cstr[0] = 'W'; } // error // // :3:9: error: cannot assign to constant