For an example, I have a test file. Within this file there are three lines of SOQL assignments.
PermissionSetAssignment psa1 = [SELECT goodQuery1]; PermissionSetAssignment psa2 = [SELECT badQuery2]; PermissionSetAssignment psa3 = [SELECT goodQuery3];
The editor will show a yellow inline “error bar” System.QueryException: List has no rows Exception. However, if I then comment out that line, the bar does not go away, although I would expect it to go away because it’s now a comment.
Further, if I know psa3 also has an error, the error bar does not move to the psa3 assignment in the code.