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

Unified Diff: test/codegen/expect/fieldtest.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/expect/expect.js ('k') | test/codegen/expect/functions.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/fieldtest.js
diff --git a/test/codegen/expect/fieldtest.js b/test/codegen/expect/fieldtest.js
index 49f33f6a72fe9a8e8dfd3097575dd8b78809c846..4d293909904520eca346e229ea04898ff01b1152 100644
--- a/test/codegen/expect/fieldtest.js
+++ b/test/codegen/expect/fieldtest.js
@@ -10,7 +10,7 @@ dart_library.library('fieldtest', null, /* Imports */[
this.x = 42;
}
}
- let B$ = dart.generic(function(T) {
+ const B$ = dart.generic(function(T) {
class B extends core.Object {
B() {
this.x = null;
@@ -68,7 +68,7 @@ dart_library.library('fieldtest', null, /* Imports */[
}
}
dart.virtualField(Derived, 'foo');
- let Generic$ = dart.generic(function(T) {
+ const Generic$ = dart.generic(function(T) {
class Generic extends core.Object {
foo(t) {
dart.as(t, T);
« no previous file with comments | « test/codegen/expect/expect/expect.js ('k') | test/codegen/expect/functions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698