OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/issue21957_test', null, /* Imports */[ |
| 2 'dart_sdk' |
| 3 ], function load__issue21957_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 issue21957_test = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 issue21957_test.main = function() { |
| 11 for (let i = 0; i < 1000000; i++) { |
| 12 new issue21957_test.A(); |
| 13 } |
| 14 }; |
| 15 dart.fn(issue21957_test.main, VoidTodynamic()); |
| 16 issue21957_test.A = class A extends core.Object { |
| 17 new() { |
| 18 this.a = 1.0; |
| 19 } |
| 20 }; |
| 21 // Exports: |
| 22 exports.issue21957_test = issue21957_test; |
| 23 }); |
OLD | NEW |