The macro call (debug_exit_info!()) succeeds
however, self.stack_dec(file_name!()) fail to get fn_name!()
Not exactly a issue since we are able to get closure, but not the intended one
Err will propagate when an error occurs
fn_name!() works as intended where the first error occurred
Describe the behavior?
The macro call (
debug_exit_info!()
) succeeds however,self.stack_dec(file_name!())
fail to getfn_name!()
Not exactly a issue since we are able to get closure, but not the intended one Err will propagate when an error occursfn_name!()
works as intended where the first error occurredReproducible code
Expected result
Actual result
Additional context
It is not possible to do so because the following will always call its own method name(
stack_dec
)Erg version
Erg 0.6.2-nightly.1
Python version
Python3.11.x
OS
Windows 10