* 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>
This commit is contained in:
flywind 2020-11-12 16:20:10 +08:00 • committed by GitHub
commit 1f9bf43100
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,6 @@
discard """
errormsg: "cstring doesn't support `[]=` operator"
"""
var x = cstring"abcd"
x[0] = 'x'