Skip to content

Commit 6df75ee

Browse files
committed
RequirementMachine: Remove bogus assertion
We can have a layout requirement 'T : _UnknownLayout', and _UnknownLayout answers false to isKnownLayout().
1 parent c408271 commit 6df75ee

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/swift/AST/RewriteSystem.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ class Atom final {
9595

9696
/// Creates a layout atom, representing a layout constraint.
9797
static Atom forLayout(LayoutConstraint layout) {
98-
assert(layout->isKnownLayout());
9998
return Atom({}, layout);
10099
}
101100

0 commit comments

Comments
 (0)