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

Unified Diff: test/codegen/expect/collection/src/canonicalized_map.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: 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
Index: test/codegen/expect/collection/src/canonicalized_map.js
diff --git a/test/codegen/expect/collection/src/canonicalized_map.js b/test/codegen/expect/collection/src/canonicalized_map.js
index 238219bc461fb09ba4452b9042efa03cf366aceb..deeb502ca04a63fdc3cebf565470ba174e529003 100644
--- a/test/codegen/expect/collection/src/canonicalized_map.js
+++ b/test/codegen/expect/collection/src/canonicalized_map.js
@@ -7,11 +7,11 @@ dart_library.library('collection/src/canonicalized_map', null, /* Imports */[
], function(exports, dart, core, utils, collection) {
'use strict';
let dartx = dart.dartx;
- let _base = Symbol('_base');
- let _canonicalize = Symbol('_canonicalize');
- let _isValidKeyFn = Symbol('_isValidKeyFn');
- let _isValidKey = Symbol('_isValidKey');
- let CanonicalizedMap$ = dart.generic(function(C, K, V) {
+ const _base = Symbol('_base');
+ const _canonicalize = Symbol('_canonicalize');
+ const _isValidKeyFn = Symbol('_isValidKeyFn');
+ const _isValidKey = Symbol('_isValidKey');
+ const CanonicalizedMap$ = dart.generic(function(C, K, V) {
class CanonicalizedMap extends core.Object {
CanonicalizedMap(canonicalize, opts) {
let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null;

Powered by Google App Engine
This is Rietveld 408576698