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

Open
cgay opened this issue Jul 15, 2023 · 1 comment
Open

No value defined for temporary #1523

cgay opened this issue Jul 15, 2023 · 1 comment
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.

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

2 participants