Skip to content

Commit e2df49e

Browse files
committed
Fix SourceKit test for property wrappers init(initialValue:) rename.
1 parent df60b01 commit e2df49e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SourceKit/CursorInfo/cursor_info_property_wrappers.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@propertyWrapper
22
struct Wrapper<T> {
33
var wrappedValue: T
4-
init(initialValue: T) {
4+
init(wrappedValue initialValue: T) {
55
wrappedValue = initialValue
66
}
77
var projectedValue: Projection<T> {
@@ -26,7 +26,7 @@ struct Projection<T> {
2626

2727
// Split between custom attr and initializer
2828
extension Wrapper {
29-
init(initialValue: T, fieldNumber: Int, special: Bool = false) {
29+
init(wrappedValue initialValue: T, fieldNumber: Int, special: Bool = false) {
3030
wrappedValue = initialValue
3131
}
3232
}

0 commit comments

Comments
 (0)