swift
3e4bc82a - rename `_forget` to `discard`; deprecate `_forget`

Commit
2 years ago
rename `_forget` to `discard`; deprecate `_forget` SE-390 concluded with choosing the keyword discard rather than forget for the statement that disables the deinit of a noncopyable type. This commit adds parsing support for `discard self` and adds a deprecation warning for `_forget self`. rdar://108859077
Author
Committer
Parents
Loading