Fix the batch pragma suppression fixer to handle the case where multiple...
Fix the batch pragma suppression fixer to handle the case where multiple diagnostics with different IDs are being suppressed on the same token Current logic in batch pragma fixer merges individual fixes in a document by applying each pragma fix sequentially and keeping track of new diagnostics spans for remaining diagnostics. The latter logic that computes new spans was using out of date spans, causing the subsequent fixes to be incorrectly applied. This change fixes that logic. Fixes #6455
Showing
想要评论请 注册 或 登录