Skip to content

unsafe keyword not properly handled by spaceAroundParens or spaceAroundBrackets #2290

@rgoldberg

Description

@rgoldberg

The unsafe keyword is not properly handled by spaceAroundParens or spaceAroundBrackets:

error: (spaceAroundParens) Add or remove space around parentheses.

&

error: (spaceAroundBrackets) Add or remove space around square brackets.

from:

unsafe (["sudo"] + args).map { unsafe strdup($0) }

unsafe [kinfo_proc](repeating: kinfo_proc(), count: length / MemoryLayout<kinfo_proc>.stride)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfixed in developbug/feature resolved in the develop branch

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions