We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c777e5a commit d6e6c96Copy full SHA for d6e6c96
include/swift/AST/Expr.h
@@ -3393,6 +3393,10 @@ class ErasureExpr final : public ImplicitConversionExpr,
3393
Bits.ErasureExpr.NumArgumentConversions = argConversions.size();
3394
std::uninitialized_copy(argConversions.begin(), argConversions.end(),
3395
getTrailingObjects<ConversionPair>());
3396
+
3397
+ assert(llvm::all_of(conformances, [](ProtocolConformanceRef ref) {
3398
+ return !ref.isInvalid();
3399
+ }));
3400
}
3401
3402
public:
0 commit comments