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

No value defined for temporary #1523

Closed
cgay opened this issue Jul 15, 2023 · 2 comments · Fixed by #1623
Closed

No value defined for temporary #1523

cgay opened this issue Jul 15, 2023 · 2 comments · Fixed by #1623
Labels

Comments

@cgay
Copy link
Member

cgay commented Jul 15, 2023

Reproducer: https://play.opendylan.org/shared/d085b8e00fe79ab9

iterate loop (a = #f, b = 1)
  if (b == 3)
    b
  else
    loop(b, b + 1)
  end
end

The above compiles without error if loop(b, b + 1) is changed to loop(a, b + 1).

@cgay cgay added the Compiler label Jul 15, 2023
@housel
Copy link
Member

housel commented Jul 19, 2023

This might be a duplicate of #1461.

housel added a commit that referenced this issue Jul 1, 2024
@housel
Copy link
Member

housel commented Jul 1, 2024

Fixed by #1622.

@housel housel closed this as completed Jul 1, 2024
@housel housel linked a pull request Jul 1, 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants