mirror of
https://github.com/apple/swift.git
synced 2025-12-25 12:15:36 +01:00
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