mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Some old circularity-breaking code caused an unexpected null type, which led to crashes in the decl checker when trying to check that an `appendInterpolation` method in a different file would satisfy the informal requirement for one in a StringInterpolationProtocol conformer. This code appears to now be unnecessary, so this commit removes it. Fixes rdar://problem/55864759.
7 lines
185 B
Swift
7 lines
185 B
Swift
protocol MagicStringInterpolationProtocol: StringInterpolationProtocol {}
|
|
|
|
extension MagicStringInterpolationProtocol {
|
|
mutating func appendInterpolation<Value>(_ value: Value) {}
|
|
}
|
|
|