From 3797dd910f24e1993a9568d3fc254c86782e75f1 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Mon, 6 Oct 2025 14:52:15 -0400 Subject: [PATCH] Add -target argument to type_checker_perf/fast/issue-54795.swift Hopefully fixes rdar://161224041. --- validation-test/Sema/type_checker_perf/fast/issue-54795.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validation-test/Sema/type_checker_perf/fast/issue-54795.swift b/validation-test/Sema/type_checker_perf/fast/issue-54795.swift index 4208b7e152f30..e3ac8bd761e83 100644 --- a/validation-test/Sema/type_checker_perf/fast/issue-54795.swift +++ b/validation-test/Sema/type_checker_perf/fast/issue-54795.swift @@ -1,4 +1,4 @@ -// RUN: %target-typecheck-verify-swift -solver-scope-threshold=10000 +// RUN: %target-typecheck-verify-swift -solver-scope-threshold=10000 -target %target-cpu-apple-macosx10.15 // Succeeds in 60ms with 5572 scopes // REQUIRES: objc_interop @@ -23,6 +23,6 @@ struct Breathe: View { .rotationEffect(.degrees(Double(index * 360 / Self.colors.count))) } } - .frame(width: self.leafSize, height: self.leafSize) // <== The compiler is unable to type-check this expression in reasonable time + .frame(width: self.leafSize, height: self.leafSize) } }