WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
247095
Style Checker error thinking an array literal is a capture list.
https://bugs.webkit.org/show_bug.cgi?id=247095
Summary
Style Checker error thinking an array literal is a capture list.
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-11-02 15:42:18 PDT
<
rdar://problem/101883087
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug