| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // Test of the graph segmentation algorithm used by deferred loading | 5 // Test of the graph segmentation algorithm used by deferred loading |
| 6 // to determine which elements can be deferred and which libraries | 6 // to determine which elements can be deferred and which libraries |
| 7 // much be included in the initial download (loaded eagerly). | 7 // much be included in the initial download (loaded eagerly). |
| 8 | 8 |
| 9 import 'dart:async' show Future; | 9 import 'dart:async' show Future; |
| 10 import 'dart:uri' show Uri; | 10 import 'dart:uri' show Uri; |
| 11 import 'dart:io'; |
| 11 | 12 |
| 12 import '../../../sdk/lib/_internal/compiler/implementation/apiimpl.dart' | 13 import '../../../sdk/lib/_internal/compiler/implementation/apiimpl.dart' |
| 13 show Compiler; | 14 show Compiler; |
| 14 | 15 |
| 15 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' | 16 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' |
| 16 as dart2js; | 17 as dart2js; |
| 17 | 18 |
| 18 import '../../../sdk/lib/_internal/compiler/implementation/filenames.dart' | 19 import '../../../sdk/lib/_internal/compiler/implementation/filenames.dart' |
| 19 show getCurrentDirectory; | 20 show getCurrentDirectory; |
| 20 | 21 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 class MyClass { | 97 class MyClass { |
| 97 const MyClass(); | 98 const MyClass(); |
| 98 | 99 |
| 99 foo(x) { | 100 foo(x) { |
| 100 new Expando(); | 101 new Expando(); |
| 101 return (x - 3) ~/ 2; | 102 return (x - 3) ~/ 2; |
| 102 } | 103 } |
| 103 } | 104 } |
| 104 """, | 105 """, |
| 105 }; | 106 }; |
| OLD | NEW |