mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This allows, for example, an initializer to conditionally assign to self or call self.init, along different control flow paths. It also means that it is legal to call self.init() multiple times in a value type initializer, but this... is fine. The old 'self' is destroyed. Fixes <rdar://problem/33137910>.
3.8 KiB
3.8 KiB