Skip to content

Commit 62c5e18

Browse files
committed
[TypeChecker] NFC: Make test-case for rdar://74035425 more complex to avoid flaky behavior
1 parent 882cfda commit 62c5e18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/Sema/type_checker_perf/slow/rdar74035425.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ struct Value {
77

88
func test(values: [[Value]]) -> String {
99
// expected-error@+1 {{the compiler is unable to type-check this expression in reasonable time}}
10-
"[" + "" + values.map({ "[" + $0.map({ $0.debugDescription }).joined(separator: ", ") + "]" }).joined(separator: ", ") + "]"
10+
"[" + "" + "" + values.map({ "[" + $0.map({ $0.debugDescription }).joined(separator: ", ") + "" + "]" }).joined(separator: ", ") + "" + "]"
1111
}
1212

0 commit comments

Comments
 (0)