Reverts part of https://github.com/apple/swift/pull/69950 because it causes failure in existing code.