mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Count constraint-solving memory more precisely, rdar://29684330
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// RUN: %target-typecheck-verify-swift -solver-memory-threshold 4000
|
||||
// RUN: %target-typecheck-verify-swift -solver-memory-threshold 8000
|
||||
|
||||
var x = [1, 2, 3, 4.5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 ,19] // expected-error{{expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user