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

Nested container reference bug? #67

Open
bmistree opened this issue Sep 6, 2013 · 0 comments
Open

Nested container reference bug? #67

bmistree opened this issue Sep 6, 2013 · 0 comments
Labels

Comments

@bmistree
Copy link
Owner

bmistree commented Sep 6, 2013

Map<from: Number, to: Map <from: Number, to: Text>> nested_map;

Map<from: Number, to: Text> internal_map = nested_map[1];

internal_map = nested_map[2];

Pretty sure that now nested_map[1] will also point to nested_map[2]. This may be because we are returning direct references to internal map values when call get_val_on_key.

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

No branches or pull requests

1 participant