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

Unified Diff: test/codegen/expect/js/src/varargs.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/js/js.js ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/js/src/varargs.js
diff --git a/test/codegen/expect/js/src/varargs.js b/test/codegen/expect/js/src/varargs.js
index 3081572a9796a2b659e46bd316042de4c8b8e185..e88d7d81894e4b8151027b0f2300b89c35b81c8b 100644
--- a/test/codegen/expect/js/src/varargs.js
+++ b/test/codegen/expect/js/src/varargs.js
@@ -12,7 +12,7 @@ dart_library.library('js/src/varargs', null, /* Imports */[
dart.setSignature(_Rest, {
constructors: () => ({_Rest: [_Rest, []]})
});
- let rest = dart.const(new _Rest());
+ const rest = dart.const(new _Rest());
function spread(args) {
dart.throw(new core.StateError('The spread function cannot be called, ' + 'it should be compiled away.'));
}
« no previous file with comments | « test/codegen/expect/js/js.js ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698