OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/static_parameter_test_none_multi', null, /* Impor
ts */[ |
| 2 'dart_sdk' |
| 3 ], function load__static_parameter_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 static_parameter_test_none_multi = Object.create(null); |
| 9 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun
ctionType(dart.dynamic, [dart.dynamic])))(); |
| 10 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 11 static_parameter_test_none_multi.foo = function(x) { |
| 12 }; |
| 13 dart.fn(static_parameter_test_none_multi.foo, dynamicTodynamic()); |
| 14 static_parameter_test_none_multi.C = class C extends core.Object { |
| 15 bar(x) {} |
| 16 static baz(x) {} |
| 17 }; |
| 18 dart.setSignature(static_parameter_test_none_multi.C, { |
| 19 methods: () => ({bar: dart.definiteFunctionType(dart.dynamic, [dart.dynamic]
)}), |
| 20 statics: () => ({baz: dart.definiteFunctionType(dart.dynamic, [dart.dynamic]
)}), |
| 21 names: ['baz'] |
| 22 }); |
| 23 static_parameter_test_none_multi.main = function() { |
| 24 static_parameter_test_none_multi.foo(1); |
| 25 new static_parameter_test_none_multi.C().bar(1); |
| 26 static_parameter_test_none_multi.C.baz(1); |
| 27 }; |
| 28 dart.fn(static_parameter_test_none_multi.main, VoidTodynamic()); |
| 29 // Exports: |
| 30 exports.static_parameter_test_none_multi = static_parameter_test_none_multi; |
| 31 }); |
OLD | NEW |