Skip to content

Commit 882cfda

Browse files
committed
[TypeChecker] NFC: Re-enable and move to "fast" tests for rdar://26564101 and rdar://33688063
1 parent 4f19ba2 commit 882cfda

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1
22
// REQUIRES: tools-release,no_asan
3-
// REQUIRES: rdar46850561,no_asan
43

54
func 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 numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1
22
// REQUIRES: tools-release,no_asan
3-
// REQUIRES: rdar57050532
43

54
let _ = 1 | UInt32(0) << 0 | UInt32(1) << 1 | UInt32(2) << 2 | UInt32(3) << 3 | UInt32(4) << 4

0 commit comments

Comments
 (0)