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

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: Add missing file 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
OLDNEW
1 dart.library('misc', null, /* Imports */[ 1 loader.library('misc', null, /* Imports */[
2 "dart/dart_runtime",
3 "dart/dartx",
2 'dart/core' 4 'dart/core'
3 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
4 ], function(exports, core) { 6 ], function(exports, dart, dartx, core) {
5 'use strict'; 7 'use strict';
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) {
(...skipping 14 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

Powered by Google App Engine
This is Rietveld 408576698