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

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

Issue 1122133003: fixes #157, renaming local library identifiers if needed. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix core.Symbol reference Created 5 years, 7 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
OLDNEW
1 var covariance; 1 var covariance, core;
2 (function(exports) { 2 (function(exports, core) {
3 'use strict'; 3 'use strict';
4 let _t = Symbol('_t'); 4 let _t = Symbol('_t');
5 let Foo$ = dart.generic(function(T) { 5 let Foo$ = dart.generic(function(T) {
6 class Foo extends core.Object { 6 class Foo extends core.Object {
7 Foo() { 7 Foo() {
8 this[_t] = null; 8 this[_t] = null;
9 } 9 }
10 add(t) { 10 add(t) {
11 dart.as(t, T); 11 dart.as(t, T);
12 this[_t] = t; 12 this[_t] = t;
(...skipping 18 matching lines...) Expand all
31 // Function main: () → dynamic 31 // Function main: () → dynamic
32 function main() { 32 function main() {
33 let foo = new Bar(); 33 let foo = new Bar();
34 foo.add('hi'); 34 foo.add('hi');
35 } 35 }
36 // Exports: 36 // Exports:
37 exports.Foo$ = Foo$; 37 exports.Foo$ = Foo$;
38 exports.Foo = Foo; 38 exports.Foo = Foo;
39 exports.Bar = Bar; 39 exports.Bar = Bar;
40 exports.main = main; 40 exports.main = main;
41 })(covariance || (covariance = {})); 41 })(covariance || (covariance = {}), core);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698