Skip to content

Commit a82d8a5

Browse files
committed
[TypeWrappers] NFC: Remove property key path printing
Some of the key paths are printed inconsistently across different platforms.
1 parent 5eafcf6 commit a82d8a5

File tree

2 files changed

+127
-127
lines changed

2 files changed

+127
-127
lines changed

test/Interpreter/Inputs/type_wrapper_defs.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ public struct Wrapper<W, S> {
1010
public subscript<V>(propertyKeyPath propertyPath: KeyPath<W, V>,
1111
storageKeyPath storagePath: KeyPath<S, V>) -> V {
1212
get {
13-
print("in read-only getter storage: \(storagePath), property: \(propertyPath)")
13+
print("in read-only getter storage: \(storagePath)")
1414
return underlying[keyPath: storagePath]
1515
}
1616
}
1717

1818
public subscript<V>(propertyKeyPath propertyPath: KeyPath<W, V>,
1919
storageKeyPath storagePath: WritableKeyPath<S, V>) -> V {
2020
get {
21-
print("in getter storage: \(storagePath), property: \(propertyPath)")
21+
print("in getter storage: \(storagePath)")
2222
return underlying[keyPath: storagePath]
2323
}
2424
set {
@@ -31,7 +31,7 @@ public struct Wrapper<W, S> {
3131
propertyKeyPath propertyPath: KeyPath<W, V>,
3232
storageKeyPath storagePath: KeyPath<S, V>) -> V {
3333
get {
34-
print("in (reference type) let getter storage: \(storagePath), property: \(propertyPath)")
34+
print("in (reference type) let getter storage: \(storagePath)")
3535
return underlying[keyPath: storagePath]
3636
}
3737
}
@@ -40,7 +40,7 @@ public struct Wrapper<W, S> {
4040
propertyKeyPath propertyPath: KeyPath<W, V>,
4141
storageKeyPath storagePath: WritableKeyPath<S, V>) -> V {
4242
get {
43-
print("in (reference type) getter storage: \(storagePath), property: \(propertyPath)")
43+
print("in (reference type) getter storage: \(storagePath)")
4444
return underlying[keyPath: storagePath]
4545
}
4646
set {

0 commit comments

Comments
 (0)