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
42
53// https://github.com/apple/swift/issues/52724
64
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
33@_silgen_name ( " generic_foo " )
44func foo< T> ( _ x: T ) -> T
55
@@ -8,6 +8,6 @@ func foo(_ x: Int) -> Int
88
99func test( m: Double ) -> Int {
1010 // expected-warning@-1 {{global function 'test(m:)' took}}
11- return Int ( foo ( Float ( m ) / 20 ) * 20 - 2 ) + 10
11+ return ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( ~ ( 0 ) ) ) ) ) ) ) ) ) ) ) )
1212 // expected-warning@-1 {{expression took}}
1313}
Original file line number Diff line number Diff line change 1- // REQUIRES: rdar107343134
21// RUN: %target-run-simple-swift
32// REQUIRES: executable_test
43// REQUIRES: objc_interop
You can’t perform that action at this time.
0 commit comments