Changeset 209232 in webkit
- Timestamp:
- Dec 1, 2016 10:08:30 PM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r209229 r209232 1 2016-12-01 Brian Burg <bburg@apple.com> 2 3 Remote Inspector: fix weird typo in generated ObjC protocol type initializer implementations 4 https://bugs.webkit.org/show_bug.cgi?id=165295 5 <rdar://problem/29427778> 6 7 Reviewed by Joseph Pecoraro. 8 9 Remove a stray semicolon appended after custom initializer signatures. 10 This is a syntax error when building with less lenient compiler warnings. 11 12 * inspector/scripts/codegen/generate_objc_protocol_types_implementation.py: 13 (ObjCProtocolTypesImplementationGenerator._generate_init_method_for_required_members): 14 * inspector/scripts/tests/expected/commands-with-async-attribute.json-result: 15 * inspector/scripts/tests/expected/commands-with-optional-call-return-parameters.json-result: 16 * inspector/scripts/tests/expected/events-with-optional-parameters.json-result: 17 * inspector/scripts/tests/expected/generate-domains-with-feature-guards.json-result: 18 * inspector/scripts/tests/expected/shadowed-optional-type-setters.json-result: 19 * inspector/scripts/tests/expected/type-declaration-object-type.json-result: 20 * inspector/scripts/tests/expected/type-requiring-runtime-casts.json-result: 21 1 22 2016-12-01 Saam Barati <sbarati@apple.com> 2 23 -
trunk/Source/JavaScriptCore/inspector/scripts/codegen/generate_objc_protocol_types_implementation.py
r198077 r209232 148 148 pairs[0] = ucfirst(pairs[0]) 149 149 lines = [] 150 lines.append('- (instancetype)initWith%s ;' % ' '.join(pairs))150 lines.append('- (instancetype)initWith%s' % ' '.join(pairs)) 151 151 lines.append('{') 152 152 lines.append(' if (!(self = [super init]))') -
trunk/Source/JavaScriptCore/inspector/scripts/tests/expected/commands-with-async-attribute.json-result
r209222 r209232 1716 1716 } 1717 1717 1718 - (instancetype)initWithMessage:(NSString *)message code:(int)code ;1718 - (instancetype)initWithMessage:(NSString *)message code:(int)code 1719 1719 { 1720 1720 if (!(self = [super init])) -
trunk/Source/JavaScriptCore/inspector/scripts/tests/expected/commands-with-optional-call-return-parameters.json-result
r209222 r209232 1571 1571 } 1572 1572 1573 - (instancetype)initWithMessage:(NSString *)message code:(int)code ;1573 - (instancetype)initWithMessage:(NSString *)message code:(int)code 1574 1574 { 1575 1575 if (!(self = [super init])) -
trunk/Source/JavaScriptCore/inspector/scripts/tests/expected/events-with-optional-parameters.json-result
r209222 r209232 1145 1145 } 1146 1146 1147 - (instancetype)initWithMessage:(NSString *)message code:(int)code ;1147 - (instancetype)initWithMessage:(NSString *)message code:(int)code 1148 1148 { 1149 1149 if (!(self = [super init])) -
trunk/Source/JavaScriptCore/inspector/scripts/tests/expected/generate-domains-with-feature-guards.json-result
r209222 r209232 1191 1191 } 1192 1192 1193 - (instancetype)initWithMessage:(NSString *)message code:(int)code ;1193 - (instancetype)initWithMessage:(NSString *)message code:(int)code 1194 1194 { 1195 1195 if (!(self = [super init])) -
trunk/Source/JavaScriptCore/inspector/scripts/tests/expected/shadowed-optional-type-setters.json-result
r209222 r209232 1048 1048 } 1049 1049 1050 - (instancetype)initWithType:(TestProtocolRuntimeKeyPathType)type ;1050 - (instancetype)initWithType:(TestProtocolRuntimeKeyPathType)type 1051 1051 { 1052 1052 if (!(self = [super init])) -
trunk/Source/JavaScriptCore/inspector/scripts/tests/expected/type-declaration-object-type.json-result
r209222 r209232 1474 1474 } 1475 1475 1476 - (instancetype)initWithMessage:(NSString *)message code:(int)code ;1476 - (instancetype)initWithMessage:(NSString *)message code:(int)code 1477 1477 { 1478 1478 if (!(self = [super init])) … … 1651 1651 } 1652 1652 1653 - (instancetype)initWithColumnNames:(NSArray/*<NSString>*/ *)columnNames notes:(NSString *)notes timestamp:(double)timestamp values:(RWIProtocolJSONObject *)values payload:(RWIProtocolJSONObject *)payload error:(TestProtocolDatabaseError *)error errorList:(NSArray/*<TestProtocolDatabaseError>*/ *)errorList ;1653 - (instancetype)initWithColumnNames:(NSArray/*<NSString>*/ *)columnNames notes:(NSString *)notes timestamp:(double)timestamp values:(RWIProtocolJSONObject *)values payload:(RWIProtocolJSONObject *)payload error:(TestProtocolDatabaseError *)error errorList:(NSArray/*<TestProtocolDatabaseError>*/ *)errorList 1654 1654 { 1655 1655 if (!(self = [super init])) … … 1780 1780 } 1781 1781 1782 - (instancetype)initWithInteger:(NSString *)integer array:(NSString *)array string:(NSString *)string value:(NSString *)value object:(NSString *)object ;1782 - (instancetype)initWithInteger:(NSString *)integer array:(NSString *)array string:(NSString *)string value:(NSString *)value object:(NSString *)object 1783 1783 { 1784 1784 if (!(self = [super init])) … … 1907 1907 } 1908 1908 1909 - (instancetype)initWithColumnNames:(NSArray/*<NSString>*/ *)columnNames notes:(NSString *)notes timestamp:(double)timestamp values:(RWIProtocolJSONObject *)values payload:(RWIProtocolJSONObject *)payload error:(TestProtocolDatabaseError *)error ;1909 - (instancetype)initWithColumnNames:(NSArray/*<NSString>*/ *)columnNames notes:(NSString *)notes timestamp:(double)timestamp values:(RWIProtocolJSONObject *)values payload:(RWIProtocolJSONObject *)payload error:(TestProtocolDatabaseError *)error 1910 1910 { 1911 1911 if (!(self = [super init])) -
trunk/Source/JavaScriptCore/inspector/scripts/tests/expected/type-requiring-runtime-casts.json-result
r209222 r209232 1454 1454 } 1455 1455 1456 - (instancetype)initWithString:(NSString *)string number:(int)number animals:(TestProtocolTestCastedAnimals)animals identifier:(int)identifier tree:(TestProtocolTestRecursiveObject1 *)tree ;1456 - (instancetype)initWithString:(NSString *)string number:(int)number animals:(TestProtocolTestCastedAnimals)animals identifier:(int)identifier tree:(TestProtocolTestRecursiveObject1 *)tree 1457 1457 { 1458 1458 if (!(self = [super init]))
Note: See TracChangeset
for help on using the changeset viewer.