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

disallow setindex on immutable values #34176

Merged
merged 1 commit into from
Dec 27, 2019
Merged

Commits on Dec 23, 2019

  1. setindex: disallow breaking the object model

    This was written fairly carefully to be safe, assuming it was not improperly optimized.
    But others are not as careful when copying this code. And it is just better not to break the object model and attempt to mutate constant values.
    vtjnash committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    f115b14 View commit details
    Browse the repository at this point in the history