mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 08:54:53 +00:00
* fix #14157 * Update compiler/jsgen.nim * add changelog * Update compiler/jsgen.nim * Update tests/js/tmodify_cstring.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
7 lines
103 B
Nim
7 lines
103 B
Nim
discard """
|
|
errormsg: "cstring doesn't support `[]=` operator"
|
|
"""
|
|
|
|
var x = cstring"abcd"
|
|
x[0] = 'x'
|