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

Unified Diff: test/codegen/expect/functions.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/fieldtest.js ('k') | test/codegen/expect/js/js.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/functions.js
diff --git a/test/codegen/expect/functions.js b/test/codegen/expect/functions.js
index 2c605c6229fef62148cd610650e1a5b270f28946..b1860f67d3dfde0cde9e75ca8438ff6cf76dc63a 100644
--- a/test/codegen/expect/functions.js
+++ b/test/codegen/expect/functions.js
@@ -9,8 +9,8 @@ dart_library.library('functions', null, /* Imports */[
return dart.list([new Foo()], Foo);
}
dart.fn(bootstrap, () => dart.definiteFunctionType(core.List$(Foo), []));
- let A2B$ = dart.generic(function(A, B) {
- let A2B = dart.typedef('A2B', () => dart.functionType(B, [A]));
+ const A2B$ = dart.generic(function(A, B) {
+ const A2B = dart.typedef('A2B', () => dart.functionType(B, [A]));
return A2B;
});
let A2B = A2B$();
« no previous file with comments | « test/codegen/expect/fieldtest.js ('k') | test/codegen/expect/js/js.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698