Skip to content

Commit 5d96b23

Browse files
nshahancommit-bot@chromium.org
authored andcommitted
[dartdevc] Fix analysis error in runtime library
Change-Id: I4aa4a580bc8fd1c7db96578a9e715e191af7fbda Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/131500 Reviewed-by: Vijay Menon <[email protected]> Reviewed-by: Nate Bosch <[email protected]> Commit-Queue: Vijay Menon <[email protected]>
1 parent 2c121e4 commit 5d96b23

File tree

1 file changed

+1
-1
lines changed
  • sdk_nnbd/lib/_internal/js_dev_runtime/private/ddc_runtime

1 file changed

+1
-1
lines changed

sdk_nnbd/lib/_internal/js_dev_runtime/private/ddc_runtime/types.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ class _TypeInferrer {
14941494
}
14951495
}
14961496
for (var name in supertypeRequiredNamed.keys) {
1497-
var subtypeParamType = subtypeRequiredNamed[name] ?? subtypeNamed[name];
1497+
var subtypeParamType = subtypeRequiredNamed[name] ?? subtypeNamed[name]!;
14981498
if (!_isSubtypeMatch(supertypeRequiredNamed[name]!, subtypeParamType)) {
14991499
return false;
15001500
}

0 commit comments

Comments
 (0)