Skip to content

Commit

Permalink
rerun tests with default nullability handler
Browse files Browse the repository at this point in the history
  • Loading branch information
ieviev committed May 30, 2024
1 parent 5ad6dc0 commit 93e2dd0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ private bool FindEndPositionDeltasDFANoSkip(ReadOnlySpan<char> input, int length
int endStateId = endStateIdRef;
int currStateId = startStateId;
// ldfld only once
int deadStateId = _deadStateId;
// int deadStateId = _deadStateId;
try
{
// Loop through each character in the input, transitioning from state to state for each.
Expand All @@ -687,7 +687,7 @@ private bool FindEndPositionDeltasDFANoSkip(ReadOnlySpan<char> input, int length
// no memory writes unless necessary
while (true)
{
if (currStateId == deadStateId)
if (currStateId == _deadStateId)
{
return true;
}
Expand Down Expand Up @@ -795,7 +795,7 @@ private bool FindEndPositionDeltasDFA<TStateHandler, TInputReader, TFindOptimiza

// If the state is nullable for the next character, meaning it accepts the empty string,
// we found a potential end state.
if (_nullabilityArray[state.DfaStateId] > 0 && TNullabilityHandler.IsNullableAt<TStateHandler>(this, in state, positionId, TStateHandler.GetStateFlags(this, in state)))
if (TNullabilityHandler.IsNullableAt<TStateHandler>(this, in state, positionId, TStateHandler.GetStateFlags(this, in state)))
{
endPos = pos;
endStateId = TStateHandler.ExtractNullableCoreStateId(this, in state, input, pos);
Expand Down

0 comments on commit 93e2dd0

Please sign in to comment.