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

Support immediate invocation of a function #818

Open
barmac opened this issue Mar 18, 2024 · 2 comments
Open

Support immediate invocation of a function #818

barmac opened this issue Mar 18, 2024 · 2 comments

Comments

@barmac
Copy link

barmac commented Mar 18, 2024

Is your feature request related to a problem? Please describe.

The expression below fails to parse even though it's correct FEEL

(function(a) a)(3)

Error reported in the FEEL Playground:

failed to parse expression '(function(a) a)(3)': Expected (binaryComparison | between | instanceOf | in | "and" | "or" | end-of-input):1:16, found "(3)"

Describe the solution you'd like

Parse and evaluate correctly as in nikku/feelin: https://nikku.github.io/feel-playground/?e=%28function%28a%29+a%29%283%29&c=%7B%7D&t=expression&st=true

Related issues

  • Camunda Autormation Platform 7:
  • Zeebe broker:
@saig0
Copy link
Member

saig0 commented Mar 19, 2024

@barmac thank you for reporting. 👍 This is an interesting case. 😅

Do you have any concrete use case?

@saig0 saig0 removed their assignment Mar 19, 2024
@barmac
Copy link
Author

barmac commented Mar 19, 2024

I discovered this when I tried to explain how boxed function definition works on concrete data. It's not a blocker for anything right now, so I'd give it low priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants