mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Assigning from Nothing to Nothing should be a no-op, not copy a junk value into the destination. Also, in move-assignment we should reset the source (and thereby call the destructor) instead of abandoning the source value after moving it. Swift SVN r5234
4.4 KiB
4.4 KiB