mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Sema] Remove replaceInvalidRefsWithErrors param
Doesn't seem like anything is relying on setting this to `false` anymore, remove it.
This commit is contained in:
@@ -106,7 +106,7 @@ TEST_F(SemaTest, TestKeypathFunctionConversionPrefersNarrowConversion) {
|
||||
|
||||
Expr *target = callExpr;
|
||||
ConstraintSystem cs(DC, ConstraintSystemOptions());
|
||||
ASSERT_FALSE(cs.preCheckExpression(target, DC, false));
|
||||
ASSERT_FALSE(cs.preCheckExpression(target, DC));
|
||||
auto *expr = cs.generateConstraints(callExpr, DC);
|
||||
ASSERT_TRUE(expr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user