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 map gets #483

Closed
imaqtkatt opened this issue May 24, 2024 · 0 comments · Fixed by #484
Closed

Nested map gets #483

imaqtkatt opened this issue May 24, 2024 · 0 comments · Fixed by #484
Assignees
Labels
bug Something isn't working syntax About Bend's syntax

Comments

@imaqtkatt
Copy link
Contributor

Currently, the code below will reach unreachable by the compiler

def x:
  return { 0: 1, 1: 42 }

def main():
  return x[x[0]]   # <----- nested map-get!
@imaqtkatt imaqtkatt self-assigned this May 24, 2024
@developedby developedby added bug Something isn't working syntax About Bend's syntax labels May 24, 2024
@imaqtkatt imaqtkatt linked a pull request May 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working syntax About Bend's syntax
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants