Skip to content

Commit 49fe1b8

Browse files
committed
fix: init_accessor_initializes_attribute_on_other_declaration error message typo
1 parent 74a5a5e commit 49fe1b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/swift/AST/DiagnosticsSema.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7390,7 +7390,7 @@ ERROR(init_accessor_can_refer_only_to_properties,none,
73907390
(DescriptiveDeclKind, DeclNameRef))
73917391

73927392
ERROR(init_accessor_initializes_attribute_on_other_declaration,none,
7393-
"initalizes(...) attribute could only be used with init accessors",
7393+
"initializes(...) attribute could only be used with init accessors",
73947394
())
73957395
ERROR(init_accessor_accesses_attribute_on_other_declaration,none,
73967396
"accesses(...) attribute could only be used with init accessors",

test/Profiler/unmapped.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ enum E : Int {
3030
case a
3131
}
3232

33-
// Don't profile the backing initalizers of the property wrapper.
33+
// Don't profile the backing initializers of the property wrapper.
3434
@available(*, unavailable)
3535
func hasExternalPropertyWrapper(@WrapperWithProjectedValue x: Int) {}
3636

0 commit comments

Comments
 (0)