Open chrisdp opened 2 years ago
@elsassph how would you feel about combining all of these diagnostics into a single diagnostic? Something to the effect of:
"Using unitialized variable 'internalFocusedNodeChanged' when this file is included in 25 scopes ['components/comp1.xml', 'components/comp2.xml', ...]"
Yeah I've been following brighterscript way of reporting the error. Could be combined for sure.
We've started migrating some of the brighterscript issues towards this pattern as well. See this function for an example:
As shown in the image below bslint problems are being displayed for the same line one for every time the script is included in a component:
Ideally we would now show the same error the a given line more than once.