Sema: Change -solver-memory-threshold into a frontend flag for consistency with the others

This commit is contained in:
Slava Pestov
2025-06-25 18:26:15 -04:00
parent 0f00c89b31
commit 84d1d115e1
6 changed files with 6 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -solver-memory-threshold 32000
// RUN: %target-typecheck-verify-swift -solver-memory-threshold=32000
// REQUIRES: OS=ios
import UIKit
class MyViewCell: UITableViewCell {

View File

@@ -1,3 +1,3 @@
// RUN: %target-typecheck-verify-swift -solver-memory-threshold 1
// RUN: %target-typecheck-verify-swift -solver-memory-threshold=1
func foo() { _ = 1 } // expected-error {{the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions}}