We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
x = new { ["one"] = 1 ["two"] = this["one"] + 1 } y = (x) { for (k, v in x) { [k] = v + 1 } }
Here, y["two"] should be 4, not 3.
y["two"]
for (v in x) {} should iterate over lazy values, and for (k, v in x) {} should iterate over eager keys and lazy values.
for (v in x) {}
for (k, v in x) {}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here,
y["two"]
should be 4, not 3.for (v in x) {}
should iterate over lazy values, andfor (k, v in x) {}
should iterate over eager keys and lazy values.The text was updated successfully, but these errors were encountered: