Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutable Native Strings #48

Open
DavePearce opened this issue Apr 7, 2020 · 0 comments
Open

Mutable Native Strings #48

DavePearce opened this issue Apr 7, 2020 · 0 comments

Comments

@DavePearce
Copy link
Member

Currently, instances of js::core::string are immutable (as they are in JavaScript). This means, for example, the following fails:

js::core::string str = "hello"
str[0] = 'H'

This failure produces a rather ugly exception trace at this stage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant