Skip to content

Commit f4e478e

Browse files
authored
swift-api-digester: use 0-based parameter index. rdar://30763215
1 parent d237167 commit f4e478e

File tree

3 files changed

+64
-70
lines changed

3 files changed

+64
-70
lines changed

test/api-digester/Outputs/Cake.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
Func S1.foo5(x:y:) has been renamed to Func S1.foo5(x:y:z:)
88

99
/* Type Changes */
10-
Constructor S1.init(_:) has 1st parameter type change from Int to Double
11-
Func C1.foo2(_:) has 1st parameter type change from Int to () -> ()
10+
Constructor S1.init(_:) has parameter 0 type change from Int to Double
11+
Func C1.foo2(_:) has parameter 0 type change from Int to () -> ()
1212

1313
/* Decl Attribute changes */
1414
Var C1.CIIns1 changes from weak to strong

0 commit comments

Comments
 (0)