Skip to content

Commit 37a9490

Browse files
committed
[Revert Me] Disable language version check temporarily
1 parent 1912d28 commit 37a9490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSRanking.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ static bool isDeclAsSpecializedAs(TypeChecker &tc, DeclContext *dc,
470470
// x.i // ensure ambiguous.
471471
// }
472472
//
473-
if (tc.Context.isSwiftVersionAtLeast(5) && !isDynamicOverloadComparison) {
473+
if (true && !isDynamicOverloadComparison) {
474474
auto *proto1 = dyn_cast<ProtocolDecl>(outerDC1);
475475
auto *proto2 = dyn_cast<ProtocolDecl>(outerDC2);
476476
if (proto1 != proto2)

0 commit comments

Comments
 (0)