I tried to extract a reproducer from my complex application but I couldn't.
The error arised at a function with nested lambda expressions, calling functions with extension and context receivers.
The error message
TypeError: this._this__u8e3s4__1.await_4rdzbx_k$ is not a function
contained a single usable hint: "await".
So I refactored my related function which called
Deferred.await()
to not use context receiver and the error is gone (it is an extension function on
Deferred
, and it had a
Raise<X>
context receiver before, now it throws an exception instead).