Skip to content

SA1008 false positive on range expression with first operand in parentheses  #3894

Open
@rotanov

Description

// This is fine
var rangeIsFine = 0..(1 + 0);
//                       +-- Warning SA1008: Opening parenthesis should not be preceded by a space.
//                       |
//                       v
var rangeFalsePositive = (0 + 0)..1;

version 1.2.0-beta.556

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions