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

dictionary doesn't freeze properly #1007

Closed
telephon opened this issue Dec 16, 2013 · 1 comment
Closed

dictionary doesn't freeze properly #1007

telephon opened this issue Dec 16, 2013 · 1 comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs.

Comments

@telephon
Copy link
Member

a = ();
a.freeze;
a.put(\a, 9);

a = [2];
a.freeze;
a.put(0, 9);

@mortuosplango
Copy link
Contributor

Seems to be working for dictionary but not for its subclasses? :/
// that freezes:
a = Dictionary[];
a.freeze;
a.put(\a, 9)

// that doesn't:
a = IdentityDictionary[];
a.freeze;
a.put(\a, 9)

@crucialfelix crucialfelix added the bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. label Jan 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs.
Projects
None yet
Development

No branches or pull requests

3 participants