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

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

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 Created 5 years, 6 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/misc.js ('k') | test/codegen/expect/opassign.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('names', null, /* Imports */[ 1 dart_library.library('names', null, /* Imports */[
2 "dart_runtime/dart",
2 'dart/core' 3 'dart/core'
3 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
4 ], function(exports, core) { 5 ], function(exports, dart, core) {
5 'use strict'; 6 'use strict';
7 let dartx = dart.dartx;
6 exports.exports = 42; 8 exports.exports = 42;
7 let _foo$ = Symbol('_foo'); 9 let _foo$ = Symbol('_foo');
8 class Foo extends core.Object { 10 class Foo extends core.Object {
9 [_foo$]() { 11 [_foo$]() {
10 return 123; 12 return 123;
11 } 13 }
12 } 14 }
13 dart.setSignature(Foo, { 15 dart.setSignature(Foo, {
14 methods: () => ({[_foo$]: [core.Object, []]}) 16 methods: () => ({[_foo$]: [core.Object, []]})
15 }); 17 });
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 core.print(eval$); 53 core.print(eval$);
52 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments)); 54 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments));
53 } 55 }
54 dart.fn(main); 56 dart.fn(main);
55 // Exports: 57 // Exports:
56 exports.Foo = Foo; 58 exports.Foo = Foo;
57 exports.Frame = Frame; 59 exports.Frame = Frame;
58 exports.Frame2 = Frame2; 60 exports.Frame2 = Frame2;
59 exports.main = main; 61 exports.main = main;
60 }); 62 });
OLDNEW
« no previous file with comments | « test/codegen/expect/misc.js ('k') | test/codegen/expect/opassign.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698