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

Issue 1126713002: fixes #130, accept anything with `iterator` in for loops (Closed)

Created:
5 years, 7 months ago by Jennifer Messerly
Modified:
5 years, 7 months ago
Reviewers:
vsm
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fixes #130, accept anything with `iterator` in for loops R=vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/65fce02dfd9f8fb59b18d6cf09188c31041ce24a

Patch Set 1 #

Patch Set 2 : fix sunflower #

Patch Set 3 : fix iterator #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -30 lines) Patch
M lib/runtime/dart/collection.js View 1 7 chunks +21 lines, -0 lines 0 comments Download
M lib/runtime/dart/core.js View 1 5 chunks +5 lines, -11 lines 0 comments Download
M lib/runtime/dart_runtime.js View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 1 chunk +51 lines, -19 lines 2 comments Download
M lib/src/utils.dart View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Jennifer Messerly
Iterators were 100% broken before ... this makes them at least work sometimes :) Now ...
5 years, 7 months ago (2015-05-05 00:08:23 UTC) #2
vsm
https://codereview.chromium.org/1126713002/diff/40001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1126713002/diff/40001/lib/src/codegen/js_codegen.dart#newcode587 lib/src/codegen/js_codegen.dart:587: jsMethods.add(_emitIterable(type)); Should we check the return type of iterator ...
5 years, 7 months ago (2015-05-05 14:19:28 UTC) #3
vsm
On 2015/05/05 14:19:28, vsm wrote: > https://codereview.chromium.org/1126713002/diff/40001/lib/src/codegen/js_codegen.dart > File lib/src/codegen/js_codegen.dart (right): > > https://codereview.chromium.org/1126713002/diff/40001/lib/src/codegen/js_codegen.dart#newcode587 > ...
5 years, 7 months ago (2015-05-05 14:20:45 UTC) #4
Jennifer Messerly
Thanks! https://codereview.chromium.org/1126713002/diff/40001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1126713002/diff/40001/lib/src/codegen/js_codegen.dart#newcode587 lib/src/codegen/js_codegen.dart:587: jsMethods.add(_emitIterable(type)); On 2015/05/05 14:19:28, vsm wrote: > Should ...
5 years, 7 months ago (2015-05-05 15:38:25 UTC) #5
Jennifer Messerly
5 years, 7 months ago (2015-05-05 16:06:50 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
65fce02dfd9f8fb59b18d6cf09188c31041ce24a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698