nim-stack-strings
nim-stack-strings copied to clipboard
Incorrectly use `raises` annotations
Presently procedures are annotated raises: [SomeDefect] this causes warnings cause raise is only meant for CatchableErrors there is no Defect tracking.
I'm surprised that there's no Defect tracking. I'll figure this out a bit later, wish I saw this before making the last release.
You could tag your procs with your own Defective then on any consuming modules push forbids: [Defective], but yea that aside there is nothing.
https://nim-lang.org/docs/manual.html#effect-system-tag-tracking