Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change preserves behavior, though the current behavior has the appearance of a bug so an author more familiar with the intention may want to add a test. There are no assignments to `first` so the conditional can be removed. When building internally the analyze is surfacing a `dead_code` diagnostic which needs to be ignored. Fixing the code will allow us to remove the ignore. I don't know why the diagnostic does not show up when analyzing using the external analyzer. dart-lang/sdk#47837
- Loading branch information