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.
2 parents 6ca531c + e4ed330 commit 4b374cdCopy full SHA for 4b374cd
lib/AST/Decl.cpp
@@ -1827,6 +1827,7 @@ bool ExtensionDecl::isWrittenWithConstraints() const {
1827
// If the type has no inverse requirements, there are no extra constraints
1828
// to write.
1829
if (typeInverseReqs.empty()) {
1830
+ assert(extInverseReqs.empty() && "extension retroactively added inverse?");
1831
return false;
1832
}
1833
validation-test/execution/issue-72719.swift renamed to validation-test/IRGen/issue-72719.swift
@@ -1,7 +1,5 @@
1
-// RUN: %target-swift-frontend -interpret %s
2
-// REQUIRES: executable_test
+// RUN: %target-swift-frontend -emit-ir -g %s > /dev/null
3
4
-// This only reproduced if you provide the -interpret flag!
5
// https://github.com/apple/swift/issues/72719
6
7
protocol D {}
0 commit comments