Files
swift-mirror/test/Index/Store/Inputs/cross-file-extension-crash-other.swift
Doug Gregor 71e2a014fe [Type checker] Make sure we get all conformances for extended nominal types.
Index-while-building ends up querying some conformances that aren’t
strictly needed by the type-checker, but which require us to pre-check all
conformances for any extension we have. Long-term, this is wasted effort, but
for now it eliminates a recent regression caused by the request-evaluator,
which (intentionally) tries to perform less work for non-primary files.

Fixes rdar://problem/41392714.
2018-06-27 10:53:26 -07:00

5 lines
56 B
Swift

final class X<T> { }
protocol P { }
extension X: P { }