Skip to content

Commit 3797dd9

Browse files
committed
Add -target argument to type_checker_perf/fast/issue-54795.swift
Hopefully fixes rdar://161224041.
1 parent 244d2af commit 3797dd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation-test/Sema/type_checker_perf/fast/issue-54795.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-typecheck-verify-swift -solver-scope-threshold=10000
1+
// RUN: %target-typecheck-verify-swift -solver-scope-threshold=10000 -target %target-cpu-apple-macosx10.15
22
// Succeeds in 60ms with 5572 scopes
33

44
// REQUIRES: objc_interop
@@ -23,6 +23,6 @@ struct Breathe: View {
2323
.rotationEffect(.degrees(Double(index * 360 / Self.colors.count)))
2424
}
2525
}
26-
.frame(width: self.leafSize, height: self.leafSize) // <== The compiler is unable to type-check this expression in reasonable time
26+
.frame(width: self.leafSize, height: self.leafSize)
2727
}
2828
}

0 commit comments

Comments
 (0)