Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NNBD migrator: record type information in TypeName type arguments
This prevents the following crash: Bad state: Missing declarated type annotation in /home/test/lib/test.dart; for Object package:nnbd_migration/src/variables.dart 68:7 Variables.decoratedTypeAnnotation package:nnbd_migration/src/edge_builder.dart 1378:26 EdgeBuilder.visitTypeName package:analyzer/src/dart/ast/ast.dart 10012:49 TypeNameImpl.accept package:nnbd_migration/src/edge_builder.dart 844:10 EdgeBuilder.visitIsExpression package:analyzer/src/dart/ast/ast.dart 6372:49 IsExpressionImpl.accept Change-Id: I23ed49ccbd3625d9f9fbc7e07a69be3c580896ff Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127457 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Paul Berry <paulberry@google.com>
- Loading branch information