kalexmills / rangeloop-test-repo

Test repository
0 stars 0 forks source link

thorfour/larn: vendor/github.com/mattn/go-runewidth/runewidth_test.go; 5 LoC #4356

Open githubvet opened 3 years ago

githubvet commented 3 years ago

Found a possible issue in thorfour/larn at vendor/github.com/mattn/go-runewidth/runewidth_test.go

Below is the message reported by the analyzer for this snippet of code. Beware that the analyzer only reports the first issue it finds, so please do not limit your consideration to the contents of the below message.

function call which takes a reference to tbl at line 35 may start a goroutine

Click here to see the code in its original context.

Click here to show the 5 line(s) of Go which triggered the analyzer. ```go for _, tbl := range tables { if !sort.IsSorted(&tbl) { t.Errorf("not sorted") } } ```

Leave a reaction on this issue to contribute to the project by classifying this instance as a Bug :-1:, Mitigated :+1:, or Desirable Behavior :rocket: See the descriptions of the classifications here for more information.

commit ID: 66bacd00b70b6fe64b0872085ccfe2f78ecb6b78