OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/regress_21793_test_none_multi', null, /* Imports
*/[ |
| 2 'dart_sdk' |
| 3 ], function load__regress_21793_test_none_multi(exports, dart_sdk) { |
| 4 'use strict'; |
| 5 const core = dart_sdk.core; |
| 6 const dart = dart_sdk.dart; |
| 7 const dartx = dart_sdk.dartx; |
| 8 const regress_21793_test_none_multi = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 regress_21793_test_none_multi.A = dart.callableClass(function A(...args) { |
| 11 const self = this; |
| 12 function call(...args) { |
| 13 return self.call.apply(self, args); |
| 14 } |
| 15 call.__proto__ = this.__proto__; |
| 16 call.new.apply(call, args); |
| 17 return call; |
| 18 }, class A extends core.Object { |
| 19 call(x) { |
| 20 return x; |
| 21 } |
| 22 }); |
| 23 dart.setSignature(regress_21793_test_none_multi.A, { |
| 24 methods: () => ({call: dart.definiteFunctionType(dart.dynamic, [dart.dynamic
])}) |
| 25 }); |
| 26 regress_21793_test_none_multi.main = function() { |
| 27 core.print(dart.dcall(new regress_21793_test_none_multi.A(), 499)); |
| 28 }; |
| 29 dart.fn(regress_21793_test_none_multi.main, VoidTodynamic()); |
| 30 // Exports: |
| 31 exports.regress_21793_test_none_multi = regress_21793_test_none_multi; |
| 32 }); |
OLD | NEW |