@@ -728,6 +728,10 @@ ERROR(module_interface_build_failed,Fatal,
728728 " the textual interface may be broken by project issues"
729729 " %select{, differences between compilers (the producer '%3' and this compiler '%4')|}2 or a compiler bug" ,
730730 (bool , StringRef, bool , StringRef, StringRef))
731+ ERROR(module_interface_build_failed_mismatching_compiler,Fatal,
732+ " failed to build module '%0'; this SDK is not supported by the compiler "
733+ " (the SDK is built with '%1', while this compiler is '%2'). Please select a toolchain which matches the SDK." ,
734+ (StringRef, StringRef, StringRef))
731735ERROR(serialization_malformed_module,Fatal,
732736 " malformed compiled module: %0" , (StringRef))
733737ERROR(serialization_module_too_new,Fatal,
@@ -2605,12 +2609,8 @@ ERROR(override_dynamic_self_mismatch,none,
26052609ERROR(override_class_declaration_in_extension,none,
26062610 " cannot override a non-dynamic class declaration from an extension" ,
26072611 ())
2608- ERROR(override_throws,none,
2609- " cannot override non-throwing %select{method|initializer}0 with "
2610- " throwing %select{method|initializer}0" , (bool ))
2611- // TODO: this really could be merged with the above.
26122612ERROR(override_with_more_effects,none,
2613- " cannot override non-'%1' %0 with '%1' %0" ,
2613+ " cannot override non-%1 %0 with %1 %0" ,
26142614 (DescriptiveDeclKind, StringRef))
26152615ERROR(override_throws_objc,none,
26162616 " overriding a throwing @objc %select{method|initializer}0 with "
@@ -3903,6 +3903,11 @@ ERROR(return_init_non_nil,none,
39033903 " 'nil' is the only return value permitted in an initializer" ,
39043904 ())
39053905
3906+ ERROR(implicit_async_super_init,none,
3907+ " missing call to superclass's initializer; "
3908+ " 'super.init' is 'async' and requires an explicit call" ,
3909+ ())
3910+
39063911WARNING(if_always_true,none,
39073912 " 'if' condition is always true" , ())
39083913WARNING(while_always_true,none,
@@ -4285,7 +4290,7 @@ NOTE(note_add_globalactor_to_function,none,
42854290 (StringRef, DescriptiveDeclKind, DeclName, Type))
42864291FIXIT(insert_globalactor_attr, " @%0 " , (Type))
42874292ERROR(not_objc_function_async,none,
4288- " 'async' function cannot be represented in Objective-C" , ())
4293+ " 'async' %0 cannot be represented in Objective-C" , (DescriptiveDeclKind ))
42894294NOTE(not_objc_function_type_async,none,
42904295 " 'async' function types cannot be represented in Objective-C" , ())
42914296ERROR(actor_isolated_objc,none,
0 commit comments