[Sema] Remove replaceInvalidRefsWithErrors param

Doesn't seem like anything is relying on setting
this to `false` anymore, remove it.
This commit is contained in:
Hamish Knight
2024-07-21 14:48:01 +01:00
parent 7c011813f2
commit 22b08da0dd
14 changed files with 38 additions and 79 deletions

View File

@@ -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);