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

Side by Side Diff: test/codegen/expect/temps.js

Issue 1093143004: fixes #52, fields shadowing getters/setters or other fields (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 months 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/sunflower/sunflower.js ('k') | test/codegen/fields.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var temps; 1 var temps;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 let _x = Symbol('_x'); 4 let _x = Symbol('_x');
5 let __x = Symbol('__x'); 5 let __x = Symbol('__x');
6 let _function = Symbol('_function'); 6 let _function = Symbol('_function');
7 class FormalCollision extends core.Object { 7 class FormalCollision extends core.Object {
8 FormalCollision(x, _x$, func) { 8 FormalCollision(x, _x$, func) {
9 this[_x] = x; 9 dart.initField(FormalCollision, this, _x, x);
10 this[__x] = _x$; 10 dart.initField(FormalCollision, this, __x, _x$);
11 this[_function] = func; 11 dart.initField(FormalCollision, this, _function, func);
12 } 12 }
13 } 13 }
14 // Function main: () → dynamic 14 // Function main: () → dynamic
15 function main() { 15 function main() {
16 core.print(new FormalCollision(1, 2, x => x)); 16 core.print(new FormalCollision(1, 2, x => x));
17 } 17 }
18 // Exports: 18 // Exports:
19 exports.FormalCollision = FormalCollision; 19 exports.FormalCollision = FormalCollision;
20 exports.main = main; 20 exports.main = main;
21 })(temps || (temps = {})); 21 })(temps || (temps = {}));
OLDNEW
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.js ('k') | test/codegen/fields.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698