Enable unnecessary_null_checks lint (#82084)
This commit is contained in:
committed by
GitHub
parent
f6747dfa10
commit
b554f893bd
@@ -307,8 +307,9 @@ class TestAsyncUtils {
|
||||
do { // skip past frames that are from this class
|
||||
index += 1;
|
||||
assert(index < stack.length);
|
||||
lineMatch = getClassPattern.matchAsPrefix(stack[index])!;
|
||||
lineMatch = getClassPattern.matchAsPrefix(stack[index]);
|
||||
assert(lineMatch != null);
|
||||
lineMatch = lineMatch!;
|
||||
assert(lineMatch.groupCount == 1);
|
||||
} while (lineMatch.group(1) == _className);
|
||||
// try to parse the stack to find the interesting frame
|
||||
|
||||
Reference in New Issue
Block a user