-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
break/cont outside loop is checked poorly #1853
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
We have some code deep in trans calling
sess.bugwithout a span when abreakorconthappens outside of a loop. In general, I think trans shouldn't be doing error-checking, and this should be caught by an earlier pass and reported with a span.