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

Side by Side Diff: test/codegen/expect/methods.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 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 unified diff | Download patch
« no previous file with comments | « test/codegen/expect/js/src/varargs.js ('k') | test/codegen/expect/misc.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart_library.library('methods', null, /* Imports */[ 1 dart_library.library('methods', null, /* Imports */[
2 "dart/_runtime", 2 "dart/_runtime",
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 ], function(exports, dart, core) { 5 ], function(exports, dart, core) {
6 'use strict'; 6 'use strict';
7 let dartx = dart.dartx; 7 let dartx = dart.dartx;
8 let _c = Symbol('_c'); 8 const _c = Symbol('_c');
9 class A extends core.Object { 9 class A extends core.Object {
10 A() { 10 A() {
11 this[_c] = 3; 11 this[_c] = 3;
12 } 12 }
13 x() { 13 x() {
14 return 42; 14 return 42;
15 } 15 }
16 y(a) { 16 y(a) {
17 return a; 17 return a;
18 } 18 }
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 let c = dart.bind("", dartx.padLeft); 80 let c = dart.bind("", dartx.padLeft);
81 let r = dart.bind(3.0, dartx.floor); 81 let r = dart.bind(3.0, dartx.floor);
82 } 82 }
83 dart.fn(test); 83 dart.fn(test);
84 // Exports: 84 // Exports:
85 exports.A = A; 85 exports.A = A;
86 exports.Bar = Bar; 86 exports.Bar = Bar;
87 exports.Foo = Foo; 87 exports.Foo = Foo;
88 exports.test = test; 88 exports.test = test;
89 }); 89 });
OLDNEW
« no previous file with comments | « test/codegen/expect/js/src/varargs.js ('k') | test/codegen/expect/misc.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698