Index: pkg/compiler/lib/src/js/rewrite_async.dart |
diff --git a/pkg/compiler/lib/src/js/rewrite_async.dart b/pkg/compiler/lib/src/js/rewrite_async.dart |
index 06437d7b5bf1b3bd76787daa1b3ae261e5592458..179a37f4b1d14f444cd169843879d83399b6475e 100644 |
--- a/pkg/compiler/lib/src/js/rewrite_async.dart |
+++ b/pkg/compiler/lib/src/js/rewrite_async.dart |
@@ -2036,7 +2036,7 @@ class AsyncStarRewriter extends AsyncRewriterBase { |
List<int> enclosingFinallyLabels = <int>[exitLabel]; |
enclosingFinallyLabels.addAll(jumpTargets |
.where((js.Node node) => finallyLabels[node] != null) |
- .map((js.Block node) => finallyLabels[node])); |
+ .map((js.Node node) => finallyLabels[node])); |
addStatement(js.js.statement("# = #;", [ |
nextWhenCanceled, |
new js.ArrayInitializer(enclosingFinallyLabels.map(js.number).toList()) |