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

Unified Diff: test/codegen/expect/temps.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/sunflower/sunflower.js ('k') | test/codegen/expect/unittest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/temps.js
diff --git a/test/codegen/expect/temps.js b/test/codegen/expect/temps.js
index 847734105b811572e369f8e0659c55e4a35a6e5e..df9da7f5fe08e2bb125bff7c3e7a3f4e7a115e2e 100644
--- a/test/codegen/expect/temps.js
+++ b/test/codegen/expect/temps.js
@@ -5,9 +5,9 @@ dart_library.library('temps', null, /* Imports */[
], function(exports, dart, core) {
'use strict';
let dartx = dart.dartx;
- let _x = Symbol('_x');
- let __x = Symbol('__x');
- let _function = Symbol('_function');
+ const _x = Symbol('_x');
+ const __x = Symbol('__x');
+ const _function = Symbol('_function');
class FormalCollision extends core.Object {
FormalCollision(x, _x$, func) {
this[_x] = x;
@@ -18,7 +18,7 @@ dart_library.library('temps', null, /* Imports */[
dart.setSignature(FormalCollision, {
constructors: () => ({FormalCollision: [FormalCollision, [core.int, core.int, core.Function]]})
});
- let _opt = Symbol('_opt');
+ const _opt = Symbol('_opt');
class OptionalArg extends core.Object {
OptionalArg(opt) {
if (opt === void 0)
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.js ('k') | test/codegen/expect/unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698