Skip to content

Commit 4f8ca97

Browse files
author
hairyputtar
authored
fix typo
1 parent ba9185f commit 4f8ca97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/IDE/complete_protocol_static_member.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ extension Indicator where T == Struct {
5151
static var activity: Indicator<Struct> { fatalError() }
5252
}
5353

54-
func receiver<T>(_ inidicator: Indicator<T>) {}
54+
func receiver<T>(_ indicator: Indicator<T>) {}
5555

5656
func test() {
5757
receiver(.#^COMPLETE_GENERIC_TYPE^#)
@@ -60,7 +60,7 @@ func test() {
6060
// COMPLETE_GENERIC_TYPE: Decl[Constructor]/CurrNominal/TypeRelation[Convertible]: init()[#Indicator<T>#];
6161
// COMPLETE_GENERIC_TYPE: Decl[StaticVar]/CurrNominal/TypeRelation[Convertible]: activity[#Indicator<Struct>#];
6262

63-
func testRecursive<T>(_ inidicator: Indicator<T>) {
63+
func testRecursive<T>(_ indicator: Indicator<T>) {
6464
testRecursive(.#^COMPLETE_RECURSIVE_GENERIC^#)
6565
// FIXME: We should be suggesting `.activity` here because the call to `testRecursive` happens with new generic parameters
6666
// COMPLETE_RECURSIVE_GENERIC: Begin completions, 1 item

0 commit comments

Comments
 (0)