[CSDiag] Adds a new diagnostic for implicit propertyWrapper initializer

This commit is contained in:
Suyash Srijan
2019-07-18 23:06:03 +01:00
parent 5e528de547
commit f47f5c44e4
3 changed files with 18 additions and 18 deletions

View File

@@ -4521,6 +4521,9 @@ WARNING(property_wrapper_init_initialValue,none,
())
ERROR(property_wrapper_projection_value_missing,none,
"could not find projection value property %0", (Identifier))
ERROR(property_wrapper_missing_arg_init, none, "missing argument for parameter "
"%0 in property wrapper initializer; add 'wrappedValue' and %0 "
"arguments in '@%1(...)'", (Identifier, StringRef))
//------------------------------------------------------------------------------
// MARK: function builder diagnostics