Skip to content

Commit b3c5070

Browse files
committed
[TypeChecker] NFC: Complicate perf test-case (rdar://19737632) by adding more operators
This test has become flaky in different configurations due to a varying number of available operator overloads, let's use more operators to make sure that it's "too complex" regardless of configuration. Resolves: rdar://79414045
1 parent a2def15 commit b3c5070

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
let a = "a"
55
let b = "b"
66
let c = 42
7-
_ = "a=" + a + ";b=" + b + ";c=" + c
7+
let d = 0.0
8+
let e: Float = 1.0
9+
10+
_ = "a=" + a + ";b=" + b + ";c=" + c + ";d=" + d + ";e=" + e
811
// expected-error@-1 {{reasonable time}}

0 commit comments

Comments
 (0)