aba85e3d9f
Factored the load order logic into its own file, as it was easier to work with that way. We could definitely tweak the structure. Also tried hoisting constants out to top level, but it's not quite ready yet, so splitting that work out into a separate CL. (also fixes #152 about cleaning up lazyClass, and fixes #181 about static fields) R=vsm@google.com Review URL: https://codereview.chromium.org/1133593004
20 lines
507 B
JavaScript
20 lines
507 B
JavaScript
var misc = dart.defineLibrary(misc, {});
|
|
var core = dart.import(core);
|
|
(function(exports, core) {
|
|
'use strict';
|
|
class _Uninitialized extends core.Object {
|
|
_Uninitialized() {
|
|
}
|
|
}
|
|
let UNINITIALIZED = dart.const(new _Uninitialized());
|
|
// Function main: () → dynamic
|
|
function main() {
|
|
core.print(dart.toString(1));
|
|
core.print(dart.toString(1.0));
|
|
core.print(dart.toString(1.1));
|
|
}
|
|
// Exports:
|
|
exports.UNINITIALIZED = UNINITIALIZED;
|
|
exports.main = main;
|
|
})(misc, core);
|