OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/canonical_const2_test', null, /* Imports */[ |
| 2 'dart_sdk', |
| 3 'expect' |
| 4 ], function load__canonical_const2_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 canonical_const2_test = Object.create(null); |
| 11 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 12 let const$; |
| 13 let const$0; |
| 14 canonical_const2_test.main = function() { |
| 15 expect$.Expect.isFalse(core.identical(const$ || (const$ = dart.constList([1,
2], core.num)), const$0 || (const$0 = dart.constList([1.0, 2.0], core.num)))); |
| 16 }; |
| 17 dart.fn(canonical_const2_test.main, VoidTodynamic()); |
| 18 // Exports: |
| 19 exports.canonical_const2_test = canonical_const2_test; |
| 20 }); |
OLD | NEW |