Using the app macro with one variable cause one can't capture dynamic environment in a fn item
#250
Labels
can't capture dynamic environment in a fn item
#250
I tried to use the
app
macro to instantiate theCelery
struct from someString
variable :This does not compile an I got one
can't capture dynamic environment in a fn item
error.I tries to replace the the macro with the generated code but now I'm not able to register the task since I can not retrieve the generated type created by the
task
macro :I'm using the main branch as source for celery.
Am I misusing something?
The text was updated successfully, but these errors were encountered: