File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ StringRef Decl::getDescriptiveKindName(DescriptiveDeclKind K) {
385
385
ENTRY (MutableAddressor, " mutableAddress accessor" );
386
386
ENTRY (ReadAccessor, " _read accessor" );
387
387
ENTRY (ModifyAccessor, " _modify accessor" );
388
- ENTRY (InitAccessor, " init acecssor " );
388
+ ENTRY (InitAccessor, " init accessor " );
389
389
ENTRY (EnumElement, " enum case" );
390
390
ENTRY (Module, " module" );
391
391
ENTRY (Missing, " missing decl" );
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public struct TestInitAccessors {
22
22
23
23
public var x : Int {
24
24
@storageRestrictions ( initializes: _x)
25
- init { // expected-note 2 {{init acecssor for property 'x' is not '@usableFromInline' or public}}
25
+ init { // expected-note 2 {{init accessor for property 'x' is not '@usableFromInline' or public}}
26
26
self . _x = newValue
27
27
}
28
28
@@ -35,11 +35,11 @@ public struct TestInitAccessors {
35
35
36
36
@_alwaysEmitIntoClient
37
37
public init ( x: Int ) {
38
- self . x = 0 // expected-error {{init acecssor for property 'x' is internal and cannot be referenced from an '@_alwaysEmitIntoClient' function}}
38
+ self . x = 0 // expected-error {{init accessor for property 'x' is internal and cannot be referenced from an '@_alwaysEmitIntoClient' function}}
39
39
}
40
40
41
41
@inlinable
42
42
public init ( ) {
43
- self . x = 0 // expected-error {{init acecssor for property 'x' is internal and cannot be referenced from an '@inlinable' function}}
43
+ self . x = 0 // expected-error {{init accessor for property 'x' is internal and cannot be referenced from an '@inlinable' function}}
44
44
}
45
45
}
You can’t perform that action at this time.
0 commit comments