mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Let protocols define getter requirements for @_staticExclusiveOnly types
This commit is contained in:
@@ -1995,6 +1995,8 @@ ERROR(attr_static_exclusive_only_let_only_param,none,
|
||||
"parameter of type %0 must be declared as either 'borrowing' or 'consuming'", (Type))
|
||||
ERROR(attr_static_exclusive_only_mutating,none,
|
||||
"type %0 cannot have mutating function %1", (Type, ValueDecl *))
|
||||
ERROR(attr_static_exclusive_no_setters,none,
|
||||
"varaible of type %0 must not have a setter", (Type))
|
||||
|
||||
// @extractConstantsFromMembers
|
||||
ERROR(attr_extractConstantsFromMembers_experimental,none,
|
||||
|
||||
Reference in New Issue
Block a user