Files
swift-mirror/validation-test/compiler_crashers_2_fixed/Inputs/0208-rdar55864759-protocol.swift
Brent Royal-Gordon 6456b39660 Fix StringInterpolationProtocol validation crasher
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.
2019-10-01 17:43:42 -07:00

7 lines
185 B
Swift

protocol MagicStringInterpolationProtocol: StringInterpolationProtocol {}
extension MagicStringInterpolationProtocol {
mutating func appendInterpolation<Value>(_ value: Value) {}
}