mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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
9.6 KiB
9.6 KiB