File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
validation-test/Sema/type_checker_perf/fast Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1
2
2
// REQUIRES: tools-release,no_asan
3
- // REQUIRES: rdar46850561,no_asan
4
3
5
4
func rdar26564101( a: [ Double ] , m: Double ) -> Double {
6
5
return Double ( Array ( 0 ... a. count - 1 ) . reduce ( 0 ) { $0 + $1 - m } )
7
- // expected-error@-1 {{too complex }}
6
+ // expected-error@-1 {{cannot convert value of type 'Double' to expected argument type 'Int' }}
8
7
}
Original file line number Diff line number Diff line change 1
1
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1
2
2
// REQUIRES: tools-release,no_asan
3
- // REQUIRES: rdar57050532
4
3
5
4
let _ = 1 | UInt32 ( 0 ) << 0 | UInt32 ( 1 ) << 1 | UInt32 ( 2 ) << 2 | UInt32 ( 3 ) << 3 | UInt32 ( 4 ) << 4
You can’t perform that action at this time.
0 commit comments