It is 90% a curiosity, but I have debugging routines that occasionally report the wrong calling line because of this bug.
Passing __LINE__ to the test function was just illustrative.
In reply to Re^2: caller() returns wrong line on multi-line function call
by jh
in thread caller() returns wrong line on multi-line function call
by jh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |