Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a way to get the current function name #1743
What makes you say this is the wrong value?
Which is to say, when you run the line
Which is to say, this is behaving correctly.
If you want a way to get the name of the currently-executing function, then the best bet is to teach
Any chances we can revive this?
Because it is a good practice to not repeat oneself and I may be looking for a way to automate something like displaying a usage message, etc.
Any chance to teach a variable instead?