I’ve come across some annoying problems when using asserts where there is either
- no good information available: why did it fails, and what the assert was about
- the assert information is buried under a sea of unneeded information like too many layers of scala functions. I’ve kept these issues in the back of my head and, now that new scala macros are available , I plan to go on Stack Overflow and create a high-value question and answer pair for each issue. That way, the next person who has the problem won’t have to slog through so much misinformation. I might even learn some more about the various issues that plagued us if other experts chime in with their own knowledge.
This is a simple scala macro example.