Hacker News new | ask | show | jobs
by WhiteSage 2456 days ago
Nice idea! I would appreciate a warning from the author specifying whether dbg evaluates its argument twice, as if so one must be careful with side effects when using it.
1 comments

Thank you for the feedback. No, it does not evaluate its argument twice - see this test: https://github.com/sharkdp/dbg-macro/blob/f30cdda9fc5332e062...
Thanks for the reply. Amazing work :)