Depending on whether i have 'Entrypoint' on makeCallback, I get completely different behavior because with the Entrypoint I get a FunctionType that has typed closures, and without it I get one with PyCell (which we can't compile).
We need to tighten up the way we handle lambdas so that we can use them like this with coherent semantics.
I wrote this code:
Depending on whether i have 'Entrypoint' on makeCallback, I get completely different behavior because with the Entrypoint I get a FunctionType that has typed closures, and without it I get one with PyCell (which we can't compile).
We need to tighten up the way we handle lambdas so that we can use them like this with coherent semantics.