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

Issue 689793003: Rename ForEachStatement.iterator -> iterable. (Closed)

Created:
6 years, 1 month ago by scheglov
Modified:
6 years, 1 month ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Rename ForEachStatement.iterator -> iterable. R=brianwilkerson@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=41405

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -34 lines) Patch
M pkg/analysis_server/lib/src/services/correction/assist_internal.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/src/generated/ast.dart View 12 chunks +15 lines, -15 lines 0 comments Download
M pkg/analyzer/lib/src/generated/parser.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 4 chunks +8 lines, -8 lines 0 comments Download
M pkg/analyzer/lib/src/services/formatter_impl.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/test/generated/parser_test.dart View 5 chunks +5 lines, -5 lines 0 comments Download
M pkg/analyzer/test/generated/utilities_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
scheglov
6 years, 1 month ago (2014-10-29 21:24:31 UTC) #1
Brian Wilkerson
LGTM
6 years, 1 month ago (2014-10-29 21:31:56 UTC) #2
scheglov
Committed patchset #1 (id:1) manually as 41405 (presubmit successful).
6 years, 1 month ago (2014-10-29 21:33:10 UTC) #3
nweiz
6 years, 1 month ago (2014-11-19 23:55:30 UTC) #4
Message was sent while issue was closed.
On 2014/10/29 21:33:10, scheglov wrote:
> Committed patchset #1 (id:1) manually as 41405 (presubmit successful).

This change is causing compatibility problems for us. Pub is currently
preprocessed by the async_await package, which is developed outside the repo
against the latest released version of the analyzer package (currently 0.22.4).
However, we run it in the repo against the repo version, and incompatibilities
like this present serious problems. Would it be possible to retain the old
"iterator" name but mark it as deprecated and have it forward to "iterable"?

Also, as a side note, it would be really nice if you could include breaking
changes like this in the package's CHANGELOG so that your many users know what's
different between one version and the next.

Powered by Google App Engine
This is Rietveld 408576698