Bug 196088 - Style check error "WK_MAC_TBA is neither a version number nor WK_IOS_TBA" is confusing
Summary: Style check error "WK_MAC_TBA is neither a version number nor WK_IOS_TBA" is ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Timothy Hatcher
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-03-21 10:26 PDT by Timothy Hatcher
Modified: 2019-03-21 11:59 PDT (History)
11 users (show)

See Also:


Attachments
Patch (6.68 KB, patch)
2019-03-21 11:19 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2019-03-21 10:26:39 PDT
"WK_MAC_TBA is neither a version number nor WK_IOS_TBA"

That statement is true, it is not a number nor WK_IOS_TBA — nothing to see here. It sounds (at a glance) like it is expecting only a number — since macosx(WK_MAC_TBA) was also used on the same line. The missing part is this is about the WK_MAC_TBA being used in the ios() macro.

An error more like would help:

"ios(WK_MAC_TBA) is invalid; expected WK_IOS_TBA or a number"
Comment 1 Timothy Hatcher 2019-03-21 11:19:43 PDT
Created attachment 365575 [details]
Patch
Comment 2 BJ Burg 2019-03-21 11:26:20 PDT
Comment on attachment 365575 [details]
Patch

r=mews
Comment 3 Timothy Hatcher 2019-03-21 11:30:43 PDT
webkitpy failures are 3 other tests.
Comment 4 WebKit Commit Bot 2019-03-21 11:57:14 PDT
Comment on attachment 365575 [details]
Patch

Clearing flags on attachment: 365575

Committed r243308: <https://trac.webkit.org/changeset/243308>
Comment 5 WebKit Commit Bot 2019-03-21 11:57:16 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2019-03-21 11:59:11 PDT
<rdar://problem/49117433>