Skip to content

Commit 722b505

Browse files
stereotype441commit-bot@chromium.org
authored andcommitted
NNBD migration: Fix an implicit downcast error.
Change-Id: I2762d60dc739adc046d7c438ae8eadae550bfa97 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/109941 Reviewed-by: Mike Fairhurst <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Dan Rubel <[email protected]> Commit-Queue: Paul Berry <[email protected]>
1 parent d7cb52b commit 722b505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/nnbd_migration/lib/src/edge_builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ $stackTrace''');
12451245
}
12461246
expression = argument.identifier;
12471247
} else {
1248-
expression = argument;
1248+
expression = argument as Expression;
12491249
}
12501250
DecoratedType parameterType;
12511251
if (name != null) {

0 commit comments

Comments
 (0)