Skip to content

Commit 45ac5a8

Browse files
committed
---
yaml --- r: 322279 b: refs/heads/tensorflow-next c: d84eee2 h: refs/heads/master i: 322277: cd3ff5d 322275: 65133ff 322271: 3210d5b
1 parent fc03fd6 commit 45ac5a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,4 +1461,4 @@ refs/heads/master-rebranch: 86e95c23aa0d37f24ec138b7853146c1cead2e40
14611461
refs/heads/rdar-53901732: 9bd06af3284e18a109cdbf9aa59d833b24eeca7b
14621462
refs/heads/revert-26776-subst-always-returns-a-type: 1b8e18fdd391903a348970a4c848995d4cdd789c
14631463
refs/heads/tensorflow-merge: 8b854f62f80d4476cb383d43c4aac2001dde3cec
1464-
refs/heads/tensorflow-next: 43fd0c50a53ce6a59923c6ee691743407ae5bea7
1464+
refs/heads/tensorflow-next: d84eee26b9166167ad4779b9ffa50b90435413f1

branches/tensorflow-next/lib/Sema/TypeCheckConstraints.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3909,7 +3909,7 @@ CheckedCastKind TypeChecker::typeCheckCheckedCast(Type fromType,
39093909
auto toConstrainedArchetype = false;
39103910
if (toArchetypeType) {
39113911
auto archetype = toType->castTo<ArchetypeType>();
3912-
toConstrainedArchetype = archetype && !archetype->getConformsTo().empty();
3912+
toConstrainedArchetype = !archetype->getConformsTo().empty();
39133913
}
39143914

39153915
if (fromFunctionType &&

0 commit comments

Comments
 (0)