mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove the CheckedCastKind from SIL dynamic casts.
It is straightforward and less redundant to recover this information from the operand types. Swift SVN r19056
This commit is contained in:
@@ -2369,7 +2369,6 @@ ConstraintSystem::simplifyCheckedCastConstraint(
|
||||
// FIXME: Check substitutability.
|
||||
return SolutionKind::Solved;
|
||||
|
||||
case CheckedCastKind::Identical:
|
||||
case CheckedCastKind::Downcast:
|
||||
case CheckedCastKind::ExistentialToConcrete: {
|
||||
// Peel off optionals metatypes from the types, because we might cast through
|
||||
|
||||
Reference in New Issue
Block a user