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 11// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1
22// REQUIRES: tools-release,no_asan
3- // REQUIRES: rdar46850561,no_asan
43
54func rdar26564101( a: [ Double ] , m: Double ) -> Double {
65 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' }}
87}
Original file line number Diff line number Diff line change 11// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1
22// REQUIRES: tools-release,no_asan
3- // REQUIRES: rdar57050532
43
54let _ = 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