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

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

Issue 968273002: Fixing layout in js output (use full paths rather than just the library name) (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: address review comments Created 5 years, 9 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/constructors.js ('k') | test/codegen/expect/convert/convert.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 var constructors;
2 (function(exports) {
3 'use strict';
4 class A extends dart.Object {
5 }
6 class B extends dart.Object {
7 B() {
8 }
9 }
10 class C extends dart.Object {
11 C$named() {
12 }
13 }
14 dart.defineNamedConstructor(C, 'named');
15 class C2 extends C {
16 C2$named() {
17 super.C$named();
18 }
19 }
20 dart.defineNamedConstructor(C2, 'named');
21 class D extends dart.Object {
22 D() {
23 }
24 D$named() {
25 }
26 }
27 dart.defineNamedConstructor(D, 'named');
28 class E extends dart.Object {
29 E(name) {
30 this.name = name;
31 }
32 }
33 class F extends E {
34 F(name) {
35 super.E(name);
36 }
37 }
38 class G extends dart.Object {
39 G(p1) {
40 if (p1 === void 0)
41 p1 = null;
42 }
43 }
44 class H extends dart.Object {
45 H(opt$) {
46 let p1 = opt$.p1 === void 0 ? null : opt$.p1;
47 }
48 }
49 class I extends dart.Object {
50 I() {
51 this.name = 'default';
52 }
53 I$named(name) {
54 this.name = name;
55 }
56 }
57 dart.defineNamedConstructor(I, 'named');
58 class J extends dart.Object {
59 J() {
60 this.initialized = true;
61 this.nonInitialized = null;
62 }
63 }
64 class K extends dart.Object {
65 K() {
66 this.s = 'a';
67 }
68 K$withS(s) {
69 this.s = s;
70 }
71 }
72 dart.defineNamedConstructor(K, 'withS');
73 class L extends dart.Object {
74 L(foo) {
75 this.foo = foo;
76 }
77 }
78 class M extends L {
79 M$named(x) {
80 super.L(x + 42);
81 }
82 }
83 dart.defineNamedConstructor(M, 'named');
84 class N extends M {
85 N$named(y) {
86 super.M$named(y + 100);
87 }
88 }
89 dart.defineNamedConstructor(N, 'named');
90 class P extends N {
91 P(z) {
92 super.N$named(z + 9000);
93 }
94 P$foo(x) {
95 this.P(x + 42);
96 }
97 P$bar() {
98 this.P$foo(1);
99 }
100 }
101 dart.defineNamedConstructor(P, 'foo');
102 dart.defineNamedConstructor(P, 'bar');
103 // Exports:
104 exports.A = A;
105 exports.B = B;
106 exports.C = C;
107 exports.C2 = C2;
108 exports.D = D;
109 exports.E = E;
110 exports.F = F;
111 exports.G = G;
112 exports.H = H;
113 exports.I = I;
114 exports.J = J;
115 exports.K = K;
116 exports.L = L;
117 exports.M = M;
118 exports.N = N;
119 exports.P = P;
120 })(constructors || (constructors = {}));
OLDNEW
« no previous file with comments | « test/codegen/expect/constructors.js ('k') | test/codegen/expect/convert/convert.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698