On 4/19/22 11:18, Andrey Zherikov wrote: > Is there a way/workaround to achieve the desired behavior?
Can you describe the goal a little more. For example, I assume you really need a more useful lambda although the example you show seems unnecessary:
enum dg = () => func(); That lambda looks suspiciously trivial. Will it actually need its context? Ali