Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0208-rdar55864759.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

4 lines
157 B
Swift

// RUN: not %target-swift-frontend -typecheck %s %S/Inputs/0208-rdar55864759-protocol.swift
struct StringInterpolation: MagicStringInterpolationProtocol {}