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.
4 lines
157 B
Swift
4 lines
157 B
Swift
// RUN: not %target-swift-frontend -typecheck %s %S/Inputs/0208-rdar55864759-protocol.swift
|
|
struct StringInterpolation: MagicStringInterpolationProtocol {}
|
|
|