Skip to content

Commit

Permalink
Fix build regression
Browse files Browse the repository at this point in the history
dotnet#33715 and dotnet#34002 were developed concurrently. Their merge does not build because of some changes in the types returned by `ISqlExpressionFactory`.
  • Loading branch information
ranma42 committed Jun 24, 2024
1 parent 7e313ab commit 5b5f40e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ private SqlExpression TranslateIndexOf(

private SqlExpression? ProcessTrimStartEnd(SqlExpression instance, IReadOnlyList<SqlExpression> arguments, string functionName)
{
SqlConstantExpression? charactersToTrim = null;
SqlExpression? charactersToTrim = null;
if (arguments.Count > 0 && arguments[0] is SqlConstantExpression { Value: var charactersToTrimValue })
{
charactersToTrim = charactersToTrimValue switch
Expand Down

0 comments on commit 5b5f40e

Please sign in to comment.