Skip to content

Commit

Permalink
Flip
Browse files Browse the repository at this point in the history
  • Loading branch information
alrz committed Oct 22, 2021
1 parent f4331b1 commit d8bccf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compilers/CSharp/Portable/Binder/PatternExplainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ string tryHandleListPattern(ref bool unnamedEnumValue)
return null;
}

if (slice.StartIndex - slice.EndIndex <= lengthValue)
if (slice.StartIndex - slice.EndIndex > lengthValue)
{
// The sample value must be equal or greater than the required minimum length by the slice.
return null;
Expand Down

0 comments on commit d8bccf6

Please sign in to comment.