Skip to content

False positive caused by brackets #14

@sb10

Description

@sb10

time.Duration(attempts) * time.Millisecond is fine, but
time.Duration((attempts)) * time.Millisecond causes a false positive.

(The real scenario was doing some maths inside the time.Duration(): time.Duration((attempts-1)*2)*time.Millisecond).)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions