Skip to content

bug in buffer.Buffer #117

@sensejoy

Description

@sensejoy

algorithm/buffer/buffer.go: line 132-137

if offsetSide == calc.SideLeft {
offsetSide = calc.SideRight
}
if offsetSide == calc.SideRight {
offsetSide = calc.SideLeft
}

offsetSide will not change if it's sideLeft by double reverse.

Metadata

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