-
Notifications
You must be signed in to change notification settings - Fork 565
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
add handling for templated lambdas and lambda specifiers #4115
base: master
Are you sure you want to change the base?
add handling for templated lambdas and lambda specifiers #4115
Conversation
OK. I made a less hacky solution. I think the regressions are actually an improvement? |
please, provide a test data, expected data and a configuration file |
Hi @guy-maurel Where should I put things? Make a new entry or use an existing test file? There seem to be a little scatter in the lambda tests.
|
Where is not important. |
When formatting templated lambdas and/or lambdas with specifiers the formatting would be "incorrect" to my eyes. For instance:
would lead to:
which is the same error I tried to fix for execution contexts in:
#2716
The attempt is to recognize the template and specifiers as valid in the context of the lambda.
The result is this:
As of the initial writing, I couldn't figure how to "properly" account for the new items, so I hacked it in a bit. Please let me know if you have suggestions to account for the new items in a manner more in line with the rest of the code.
for instance, additional
<>
can exist inside of the outer<>
and the hard coded manner in which I set the chunks will break.