swift
75e4f985 - rename `_forget` to `discard`; deprecate `_forget` (#65788)

Commit
2 years ago
rename `_forget` to `discard`; deprecate `_forget` (#65788) 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
Parents
Loading