mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
reword a diagnostic to read more nicely.
Swift SVN r15941
This commit is contained in:
@@ -606,7 +606,7 @@ ERROR(member_cannot_be_final,sema_tcd,none,
|
||||
"only class member may be marked with the @final attribute", ())
|
||||
|
||||
ERROR(final_not_allowed_here,sema_tcd,none,
|
||||
"@final may only be applied to var/let, func, and subscript", ())
|
||||
"@final may only be applied to properties, methods, and subscripts", ())
|
||||
|
||||
ERROR(final_not_on_accessors,sema_tcd,none,
|
||||
"@final cannot be applied to accessors, it must be put on the "
|
||||
|
||||
Reference in New Issue
Block a user