Manual roll of Dart SDK from e8b86b073413 to 823a69e2a34d (flutter/engine#41614)

Requires a change to an analyzer script due to a deprecated API
This commit is contained in:
Jason Simmons
2023-04-29 09:43:09 -07:00
committed by GitHub
parent 64bb74f3b7
commit 4e818387cc
2 changed files with 3 additions and 3 deletions

View File

@@ -192,7 +192,7 @@ class NativeFunctionVisitor extends RecursiveAstVisitor<void> {
type = (parameter.parameter as SimpleFormalParameter).type;
}
if (type! is NamedType) {
final String name = (type as NamedType).name.name;
final String name = (type as NamedType).name2.lexeme;
if (type.question != null && simpleTypes.contains(name)) {
errors.add(description);
return;