We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f85bb3e + a7f4ee3 commit 5aec222Copy full SHA for 5aec222
validation-test/Sema/type_checker_perf/fast/rdar26564101.swift renamed to validation-test/Sema/type_checker_perf/slow/rdar26564101.swift
@@ -1,7 +1,8 @@
1
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1
2
// REQUIRES: tools-release,no_asserts
3
+// REQUIRES: rdar46850561
4
5
func rdar26564101(a: [Double], m: Double) -> Double {
6
return Double(Array(0...a.count - 1).reduce(0) { $0 + $1 - m })
- // expected-error@-1 {{cannot convert}}
7
+ // expected-error@-1 {{too complex}}
8
}
0 commit comments