OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/issue9949_test', null, /* Imports */[ |
| 2 'dart_sdk', |
| 3 'expect' |
| 4 ], function load__issue9949_test(exports, dart_sdk, expect) { |
| 5 'use strict'; |
| 6 const core = dart_sdk.core; |
| 7 const dart = dart_sdk.dart; |
| 8 const dartx = dart_sdk.dartx; |
| 9 const expect$ = expect.expect; |
| 10 const issue9949_test = Object.create(null); |
| 11 let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(da
rt.void, [])))(); |
| 12 issue9949_test.Crash = class Crash extends core.Expando$(core.String) { |
| 13 new() { |
| 14 super.new(); |
| 15 } |
| 16 }; |
| 17 dart.addSimpleTypeTests(issue9949_test.Crash); |
| 18 dart.setSignature(issue9949_test.Crash, { |
| 19 constructors: () => ({new: dart.definiteFunctionType(issue9949_test.Crash, [
])}) |
| 20 }); |
| 21 issue9949_test.main = function() { |
| 22 let expando = new issue9949_test.Crash(); |
| 23 expect$.Expect.isTrue(core.Expando.is(expando)); |
| 24 }; |
| 25 dart.fn(issue9949_test.main, VoidTovoid()); |
| 26 // Exports: |
| 27 exports.issue9949_test = issue9949_test; |
| 28 }); |
OLD | NEW |