mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update diagnostic text to address code review feedback
This commit is contained in:
@@ -573,6 +573,8 @@ public:
|
||||
Context(dc) {
|
||||
assert(!conformingType->hasArchetype() &&
|
||||
"ProtocolConformances should store interface types");
|
||||
assert((preconcurrencyLoc.isInvalid() || isPreconcurrency) &&
|
||||
"Cannot have a @preconcurrency location without isPreconcurrency");
|
||||
setState(state);
|
||||
Bits.NormalProtocolConformance.IsInvalid = false;
|
||||
Bits.NormalProtocolConformance.IsUnchecked = isUnchecked;
|
||||
|
||||
Reference in New Issue
Block a user