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

Unified Diff: test/codegen/expect/dart/isolate.js

Issue 977153002: Fix increment on nullable (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Remove assignments Created 5 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/codegen/expect/dart/core.js ('k') | test/codegen/expect/sunflower.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/dart/isolate.js
diff --git a/test/codegen/expect/dart/isolate.js b/test/codegen/expect/dart/isolate.js
index eecd99a9e1a4e4911d480a33bc151444a1f7ca2c..d26913bde88ec93ed8d90ae7d264c080c2fbdf8d 100644
--- a/test/codegen/expect/dart/isolate.js
+++ b/test/codegen/expect/dart/isolate.js
@@ -38,7 +38,7 @@ var isolate;
throw new core.UnimplementedError("packageRoot");
try {
if (dart.is(args, core.List$(core.String))) {
- for (let i = 0; dart.notNull(i) < dart.notNull(args.length); dart.notNull(i)++) {
+ for (let i = 0; dart.notNull(i) < dart.notNull(args.length); i = dart.notNull(i) + 1) {
if (!(typeof args.get(i) == string)) {
throw new core.ArgumentError(`Args must be a list of Strings ${args}`);
}
« no previous file with comments | « test/codegen/expect/dart/core.js ('k') | test/codegen/expect/sunflower.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698