Bug 247095

Summary: Style Checker error thinking an array literal is a capture list.
Product: WebKit Reporter: Megan Gardner <megan_gardner>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Megan Gardner
Reported 2022-10-26 15:41:58 PDT
Errors from the style checker: ERROR: Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:10115: Extra space in capture list. [whitespace/brackets] [4] ERROR: Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:10116: Extra space in capture list. [whitespace/brackets] [4] The lines in question: [_pencilHoverGestureRecognizer setAllowedTouchTypes:@[ @(UITouchTypePencil)] ]; [_mouseGestureRecognizer setAllowedTouchTypes:@[ @(UITouchTypeDirect), @(UITouchTypeIndirectPointer)] ]; This should not trigger the style checker as a failure.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-02 15:42:18 PDT
Note You need to log in before you can comment on or make changes to this bug.