Skip to content

Commit f2f771d

Browse files
committed
Fix type checker performance test to compile successfully.
At some point this test case was updated such that it no longer compiled successfully. The originally reported test case did compile successfully, just slowly.
1 parent b892e6b commit f2f771d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
Lines changed: 1 addition & 2 deletions
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_asserts
33

4-
2...100.reversed().filter({ $0 % 11 == 0 }).map {
5-
// expected-error@-1 {{value of type 'Int' has no member 'reversed'}}
4+
_ = (2...100).reversed().filter({ $0 % 11 == 0 }).map {
65
"\($0) bottles of beer on the wall, \($0) bottles of beer;\n"
76
+ " take eleven down, pass 'em around, \($0-11) bottles of beer on the wall!"
87
}

0 commit comments

Comments
 (0)