Loosing Type of ClosureLiteral (The Parameter)

Hi there,

when using a ClosureLiteral with a Param in the generator, i loose the type information (probably param and return type). The generation process stops with “cannot calculate type for closure literal”.

I m just wondering if there is a way to circumvent this situation in the generator (hinting the type somehow?). Of course, i could go with the interface.methodcall instead, but that wouldn t generate a nice literal in the generated code….

Any suggestions what i should try?

Thanks for any idea,
Daniel