To address this, the parsing logic now extracts both an identifier and a type for each argument. If the argument is an ident pattern, the generated code uses the provided ident. For all other pattern types, the parser generates a new identifier based on the position of the argument.
Currently the
#[thespian::actor]
procedural macro breaks when dealing with functions with more complex patterns for function arguments, e.g.To address this, the parsing logic now extracts both an identifier and a type for each argument. If the argument is an ident pattern, the generated code uses the provided ident. For all other pattern types, the parser generates a new identifier based on the position of the argument.