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

Unified Diff: test/codegen/expect/collection/iterable_zip.js

Issue 1483813002: Use const for const/final top-levels, types, symbols. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Rebased after vsm's regen 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/codegen/expect/collection/algorithms.js ('k') | test/codegen/expect/collection/priority_queue.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/collection/iterable_zip.js
diff --git a/test/codegen/expect/collection/iterable_zip.js b/test/codegen/expect/collection/iterable_zip.js
index f6500b0c7a3c71e0c90864244468fb87ed89e47b..ecd44bdb20b1cae3936f6e68eb57d831b45f5d12 100644
--- a/test/codegen/expect/collection/iterable_zip.js
+++ b/test/codegen/expect/collection/iterable_zip.js
@@ -6,7 +6,7 @@ dart_library.library('collection/iterable_zip', null, /* Imports */[
], function(exports, dart, collection, core) {
'use strict';
let dartx = dart.dartx;
- let _iterables = Symbol('_iterables');
+ const _iterables = Symbol('_iterables');
class IterableZip extends collection.IterableBase$(core.List) {
IterableZip(iterables) {
this[_iterables] = iterables;
@@ -21,8 +21,8 @@ dart_library.library('collection/iterable_zip', null, /* Imports */[
constructors: () => ({IterableZip: [IterableZip, [core.Iterable$(core.Iterable)]]})
});
dart.defineExtensionMembers(IterableZip, ['iterator']);
- let _iterators = Symbol('_iterators');
- let _current = Symbol('_current');
+ const _iterators = Symbol('_iterators');
+ const _current = Symbol('_current');
class _IteratorZip extends core.Object {
_IteratorZip(iterators) {
this[_iterators] = dart.as(iterators, core.List$(core.Iterator));
« no previous file with comments | « test/codegen/expect/collection/algorithms.js ('k') | test/codegen/expect/collection/priority_queue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698