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

lambdas as expressions are incomplete #346

Open
ludamad opened this issue Dec 29, 2024 · 0 comments · May be fixed by #347
Open

lambdas as expressions are incomplete #346

ludamad opened this issue Dec 29, 2024 · 0 comments · May be fixed by #347
Labels
bug Something isn't working

Comments

@ludamad
Copy link

ludamad commented Dec 29, 2024

This may be known based on a commit 3 months ago, having a look myself:

WORKS

  var pure_test := func():
    if 1:
      var test := 1
      pass

WORKS

  stack(func():
    if 1:
      var test := 1)

DOES NOT WORK

  stack(func():
    if 1:
      var test := 1
      pass)

(or any other 2nd statement)

@ludamad ludamad linked a pull request Dec 30, 2024 that will close this issue
@Scony Scony added the bug Something isn't working label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants