Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: pkg/compiler/lib/src/js/rewrite_async.dart

Issue 1418503009: dart2js: Bugfix in async rewriter preanalysis. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library rewrite_async; 5 library rewrite_async;
6 6
7 import "dart:math" show max; 7 import "dart:math" show max;
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:js_runtime/shared/async_await_error_codes.dart' 10 import 'package:js_runtime/shared/async_await_error_codes.dart'
(...skipping 2427 matching lines...) Expand 10 before | Expand all | Expand 10 after
2438 return unsupported(node); 2438 return unsupported(node);
2439 } 2439 }
2440 2440
2441 @override 2441 @override
2442 bool visitLiteralString(js.LiteralString node) { 2442 bool visitLiteralString(js.LiteralString node) {
2443 return false; 2443 return false;
2444 } 2444 }
2445 2445
2446 @override 2446 @override
2447 bool visitStringConcatenation(js.StringConcatenation node) { 2447 bool visitStringConcatenation(js.StringConcatenation node) {
2448 return true; 2448 return false;
2449 } 2449 }
2450 2450
2451 @override 2451 @override
2452 bool visitName(js.Name node) { 2452 bool visitName(js.Name node) {
2453 return true; 2453 return false;
2454 } 2454 }
2455 2455
2456 @override 2456 @override
2457 bool visitNamedFunction(js.NamedFunction node) { 2457 bool visitNamedFunction(js.NamedFunction node) {
2458 return false; 2458 return false;
2459 } 2459 }
2460 2460
2461 @override 2461 @override
2462 bool visitNew(js.New node) { 2462 bool visitNew(js.New node) {
2463 return visitCall(node); 2463 return visitCall(node);
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
2581 return condition || body; 2581 return condition || body;
2582 } 2582 }
2583 2583
2584 @override 2584 @override
2585 bool visitDartYield(js.DartYield node) { 2585 bool visitDartYield(js.DartYield node) {
2586 hasYield = true; 2586 hasYield = true;
2587 visit(node.expression); 2587 visit(node.expression);
2588 return true; 2588 return true;
2589 } 2589 }
2590 } 2590 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698