Files
sdk/pkg/dev_compiler/test/codegen_expected/language/bootstrap_test.js
T
Leaf Petersen 0315595d60 Check in codegen test expectations.
Codegen output is checked into repository to make codegen regressions
more visible (especially readability regressions).

BUG=
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2128353002 .
2016-07-07 15:57:22 -07:00

27 lines
917 B
JavaScript

dart_library.library('language/bootstrap_test', null, /* Imports */[
'dart_sdk'
], function load__bootstrap_test(exports, dart_sdk) {
'use strict';
const core = dart_sdk.core;
const dart = dart_sdk.dart;
const dartx = dart_sdk.dartx;
const bootstrap_test = Object.create(null);
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
bootstrap_test.BootstrapTest = class BootstrapTest extends core.Object {
static testMain() {
let obj = new core.Object();
return obj;
}
};
dart.setSignature(bootstrap_test.BootstrapTest, {
statics: () => ({testMain: dart.definiteFunctionType(dart.dynamic, [])}),
names: ['testMain']
});
bootstrap_test.main = function() {
bootstrap_test.BootstrapTest.testMain();
};
dart.fn(bootstrap_test.main, VoidTodynamic());
// Exports:
exports.bootstrap_test = bootstrap_test;
});