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

Unified Diff: test/codegen/expect/sunflower/painter.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/dom.js ('k') | test/codegen/expect/sunflower/sunflower.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/sunflower/painter.js
diff --git a/test/codegen/expect/sunflower/painter.js b/test/codegen/expect/sunflower/painter.js
index 09b39390f87a34c4f88f6a0b436bec75828c610a..7faf2377536a10a511b879528c7558606aec079b 100644
--- a/test/codegen/expect/sunflower/painter.js
+++ b/test/codegen/expect/sunflower/painter.js
@@ -8,10 +8,10 @@ dart_library.library('sunflower/painter', null, /* Imports */[
], function(exports, dart, math, dom, core, circle) {
'use strict';
let dartx = dart.dartx;
- let ORANGE = "orange";
- let RED = "red";
- let BLUE = "blue";
- let TAU = dart.notNull(math.PI) * 2;
+ const ORANGE = "orange";
+ const RED = "red";
+ const BLUE = "blue";
+ const TAU = dart.notNull(math.PI) * 2;
function querySelector(selector) {
return dom.document.querySelector(selector);
}
« no previous file with comments | « test/codegen/expect/sunflower/dom.js ('k') | test/codegen/expect/sunflower/sunflower.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698