mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
Owned lifetime canonicalization bails on move-only values. Previously, though, every value that was fed to canonicalization was then attempted to be deleted. For dead move-only values, the result could be to shorten move-only lifetimes, which is illegal per language rules. Here, this is fixed by not attempting to delete owned values for which canonicalization bailed. rdar://114323803
24 KiB
24 KiB