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

Lambda can't resolve a parameter #704

Closed
sys27 opened this issue Sep 3, 2023 · 0 comments · Fixed by #705
Closed

Lambda can't resolve a parameter #704

sys27 opened this issue Sep 3, 2023 · 0 comments · Fixed by #705
Assignees
Labels
Milestone

Comments

@sys27
Copy link
Owner

sys27 commented Sep 3, 2023

Describe the bug
Lambda can't resolve a parameter, probably it is related to nested scope. The lambda captured incorrect scope or something else. And can't find a parameter.

To Reproduce
Steps to reproduce the behavior:

  1. c := (n, k) => n! / (k! * (n - k)!) - add a function (combination formula)
  2. parts := (m, n) => c((m - 1) + (n - 1), m - 1) - use it another function
  3. parts(23, 12) - call it, it throws an exception
@sys27 sys27 added the bug label Sep 3, 2023
@sys27 sys27 added this to the xFunc 4.4.0 milestone Sep 3, 2023
@sys27 sys27 self-assigned this Sep 3, 2023
sys27 added a commit that referenced this issue Sep 3, 2023
sys27 added a commit that referenced this issue Sep 3, 2023
@sys27 sys27 closed this as completed in #705 Sep 3, 2023
sys27 added a commit that referenced this issue Sep 3, 2023
#704 - Lambda can't resolve a parameter.
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.

1 participant