File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %target-swift-frontend -typecheck -verify %s
2
-
3
- // REQUIRES: rdar65007946
1
+ // RUN: %target-swift-frontend -typecheck -verify -disable-constraint-solver-performance-hacks %s
4
2
5
3
// https://github.com/apple/swift/issues/52724
6
4
Original file line number Diff line number Diff line change 1
- // RUN: %target-typecheck-verify-swift -warn-long-expression-type-checking=1 -warn-long-function-bodies=1
2
- // REQUIRES: rdar44305428
1
+ // RUN: %target-typecheck-verify-swift -warn-long-expression-type-checking=1 -disable-constraint-solver-performance-hacks - warn-long-function-bodies=1 -solver-expression-time-threshold=60
2
+ // FIXME: -solver-expression-time-threshold=60 should not be needed
3
3
@_silgen_name ( " generic_foo " )
4
4
func foo< T> ( _ x: T ) -> T
5
5
@@ -8,6 +8,6 @@ func foo(_ x: Int) -> Int
8
8
9
9
func test( m: Double ) -> Int {
10
10
// expected-warning@-1 {{global function 'test(m:)' took}}
11
- return Int ( foo ( Float ( m ) / 20 ) * 20 - 2 ) + 10
11
+ return ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( 0 ) ) ) ) ) ) ) ) ) ) ) )
12
12
// expected-warning@-1 {{expression took}}
13
13
}
Original file line number Diff line number Diff line change 1
- // REQUIRES: rdar107343134
2
1
// RUN: %target-run-simple-swift
3
2
// REQUIRES: executable_test
4
3
// REQUIRES: objc_interop
You can’t perform that action at this time.
0 commit comments