[Refactor] Address warnings / errors for locally created methods #2287
Labels
🖰 GUI
Related to GUI
💥Malfunction
Addresses an identified problem.
🟧 Priority: High
Must be addressed as soon
Description
When I try to use code with method creation within methods, the warning
is raised.
Example:
What does however work is, if I replace the function with a
lamba
statement, like:The workaround is absolutely sufficient, but I am curious whether this could be addressed in a future release and why the
lambda
statement does not produce any error.Acceptance Criteria
Code of Conduct
The text was updated successfully, but these errors were encountered: