OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/setter4_test', null, /* Imports */[ |
| 2 'dart_sdk' |
| 3 ], function load__setter4_test(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 setter4_test = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 setter4_test.A = class A extends core.Object { |
| 11 a() { |
| 12 return 1; |
| 13 } |
| 14 set a(val) { |
| 15 let i = core.int._check(val); |
| 16 } |
| 17 }; |
| 18 dart.setSignature(setter4_test.A, { |
| 19 methods: () => ({a: dart.definiteFunctionType(core.int, [])}) |
| 20 }); |
| 21 setter4_test.main = function() { |
| 22 }; |
| 23 dart.fn(setter4_test.main, VoidTodynamic()); |
| 24 // Exports: |
| 25 exports.setter4_test = setter4_test; |
| 26 }); |
OLD | NEW |