mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +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>
(cherry picked from commit 1f9bf43100)
7 lines
103 B
Nim
7 lines
103 B
Nim
discard """
|
|
errormsg: "cstring doesn't support `[]=` operator"
|
|
"""
|
|
|
|
var x = cstring"abcd"
|
|
x[0] = 'x'
|