Bug 247095
| Summary: | Style Checker error thinking an array literal is a capture list. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Megan Gardner <megan_gardner> |
| Component: | Tools / Tests | Assignee: | 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
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
<rdar://problem/101883087>