Closed Sija closed 9 months ago
As type declarations are often used as part of DSLs and within accessor macros, I see no reliable way to mark them as unused assignments.
I'm not happy with these few added # ameba:disable Lint/UselessAssign
pragmas, yet I believe it's a sensible price to pay for having this bug fixed.
@veelenga Any idea how this could be optimized?
UPDATE: I've managed to resolve this in #436
@veelenga Ready for review.
It's a tough one. Need more time to review.
I'm thinking of adding an option to exclude type declarations - in case someone would use 'em in their DSLs, WDYT @veelenga?
Resolves #429