Skip to content

Commit 9c010f4

Browse files
committed
Add CHANGELOG entry for local property wrappers
1 parent efbfaac commit 9c010f4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@ Swift Next
5252
Swift 5.4
5353
---------
5454
55+
* Property wrappers now work in local contexts, making the following valid:
56+
57+
```swift
58+
@propertyWrapper
59+
struct Wrapper<T> {
60+
var wrappedValue: T
61+
}
62+
63+
func test() {
64+
@Wrapper var value = 10
65+
}
66+
```
67+
5568
* [SR-10069][]:
5669

5770
Function overloading now works in local contexts, making the following valid:

0 commit comments

Comments
 (0)