Skip to content

False positive inspection for "range" statement. #1451

@coocood

Description

@coocood

plugin version: 1.0.0.alpha#201
Go version: 1.4.2

func TestRange(t *testing.T) {
    s := "abc"
    for _ = range s { // here we get "assignment count mismatch" report
        t.Log("abc")
    }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions