Skip to content

Commit c9d6a6f

Browse files
committed
crash once we get to code i want to better understand
1 parent b1963e1 commit c9d6a6f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/swift/Sema/ConstraintSystem.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -573,10 +573,10 @@ class TypeVariableType::Implementation {
573573
}
574574

575575
if (canBindToMoveOnly() && !otherRep->getImpl().canBindToMoveOnly()) {
576-
assert(false && "yay, not dead code!");
577-
if (record)
578-
recordBinding(*record);
579-
getTypeVariable()->Bits.TypeVariableType.Options &= ~TVO_CanBindToMoveOnly;
576+
llvm_unreachable("not dead code, what should we do here?");
577+
// if (record)
578+
// recordBinding(*record);
579+
// getTypeVariable()->Bits.TypeVariableType.Options &= ~TVO_CanBindToMoveOnly;
580580
}
581581
}
582582

0 commit comments

Comments
 (0)