mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Because `required init`s do not have the `override` keyword, they are always treated as member implementations (if they pass other checks). However, these methods sometimes actually are overrides, and when they are, they should not be treated as member implementations. This results in required inits being treated as candidates when there won’t be a requirement for them to match. Hack around this by separately checking for this situation and skipping the affected members. Fixes rdar://112910098.