Closed tmrobert8 closed 4 years ago
Indeed, I suppose that this method:
requires also some reset of the importsToLineNumbers
in the end.
If anyone want to pick this up, he/she is more than welcome. Its relatively easy and isolated and the code has some existing tests but of course misses one for this case.
Fixed by #362
There is definitely something wrong with the ForbiddenPackageUsageCheck check. Seems like it get's 'stuck' marking the error on every class following the one that created it.
Here's an example of the incorrect check (the constants class of course only has constants and none of common collect classes)