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

Unified Diff: test/codegen/expect/sunflower/sunflower.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/painter.js ('k') | test/codegen/expect/temps.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/sunflower/sunflower.js
diff --git a/test/codegen/expect/sunflower/sunflower.js b/test/codegen/expect/sunflower/sunflower.js
index 25f3e52f1b565a8cb172b9b6b18d6ec741c0e701..c06b37de69bcef1c9fe793b351c85dc8e99b9833 100644
--- a/test/codegen/expect/sunflower/sunflower.js
+++ b/test/codegen/expect/sunflower/sunflower.js
@@ -9,11 +9,11 @@ dart_library.library('sunflower/sunflower', null, /* Imports */[
], function(exports, dart, dom, core, math, painter, circle) {
'use strict';
let dartx = dart.dartx;
- let SEED_RADIUS = 2;
- let SCALE_FACTOR = 4;
- let MAX_D = 300;
- let centerX = dart.notNull(MAX_D) / 2;
- let centerY = centerX;
+ const SEED_RADIUS = 2;
+ const SCALE_FACTOR = 4;
+ const MAX_D = 300;
+ const centerX = dart.notNull(MAX_D) / 2;
+ const centerY = centerX;
function querySelector(selector) {
return dom.document.querySelector(selector);
}
« no previous file with comments | « test/codegen/expect/sunflower/painter.js ('k') | test/codegen/expect/temps.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698