mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[CSDiag] Adds a new diagnostic for implicit propertyWrapper initializer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user