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

Side by Side Diff: test/codegen/expect/misc.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/methods.js ('k') | test/codegen/expect/names.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('misc', null, /* Imports */[ 1 dart_library.library('misc', 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 class _Uninitialized extends core.Object { 8 class _Uninitialized extends core.Object {
7 _Uninitialized() { 9 _Uninitialized() {
8 } 10 }
9 } 11 }
10 dart.setSignature(_Uninitialized, { 12 dart.setSignature(_Uninitialized, {
11 constructors: () => ({_Uninitialized: [_Uninitialized, []]}) 13 constructors: () => ({_Uninitialized: [_Uninitialized, []]})
12 }); 14 });
13 let UNINITIALIZED = dart.const(new _Uninitialized()); 15 let UNINITIALIZED = dart.const(new _Uninitialized());
14 let Generic$ = dart.generic(function(T) { 16 let Generic$ = dart.generic(function(T) {
15 class Generic extends core.Object { 17 class Generic extends core.Object {
(...skipping 13 matching lines...) Expand all
29 core.print(dart.equals(x, Generic)); 31 core.print(dart.equals(x, Generic));
30 core.print(new (Generic$(core.int))().type); 32 core.print(new (Generic$(core.int))().type);
31 } 33 }
32 dart.fn(main); 34 dart.fn(main);
33 // Exports: 35 // Exports:
34 exports.UNINITIALIZED = UNINITIALIZED; 36 exports.UNINITIALIZED = UNINITIALIZED;
35 exports.Generic$ = Generic$; 37 exports.Generic$ = Generic$;
36 exports.Generic = Generic; 38 exports.Generic = Generic;
37 exports.main = main; 39 exports.main = main;
38 }); 40 });
OLDNEW
« no previous file with comments | « test/codegen/expect/methods.js ('k') | test/codegen/expect/names.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698