We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdd1c14 commit 9c5318cCopy full SHA for 9c5318c
proposals/NNNN-weak-let.md
@@ -77,6 +77,7 @@ Note that all of this relies on the fact that the thread-safety of observing a w
77
## Proposed solution
78
79
`weak` can now be freely combined with `let` in any position that `weak var` would be allowed.
80
+Similar to `weak var`, `weak let` declarations also must be of `Optional` type.
81
82
This proposal maintains the status quo regarding `weak` on function arguments and computed properties:
83
* There is no valid syntax to indicate that function argument is a weak reference.
0 commit comments