| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 import "package:expect/expect.dart"; | 5 import "package:expect/expect.dart"; |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 import "package:async_helper/async_helper.dart"; | 7 import "package:async_helper/async_helper.dart"; |
| 8 import 'parser_helper.dart'; | 8 import 'parser_helper.dart'; |
| 9 import 'mock_compiler.dart'; | 9 import 'mock_compiler.dart'; |
| 10 import '../../../sdk/lib/_internal/compiler/compiler.dart'; | 10 import '../../../sdk/lib/_internal/compiler/compiler.dart'; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 class Function {} | 26 class Function {} |
| 27 class List<T> {} | 27 class List<T> {} |
| 28 class Map<K,V> {} | 28 class Map<K,V> {} |
| 29 class BoundClosure {} | 29 class BoundClosure {} |
| 30 class Closure {} | 30 class Closure {} |
| 31 class Dynamic_ {} | 31 class Dynamic_ {} |
| 32 class Null {} | 32 class Null {} |
| 33 class TypeError {} | 33 class TypeError {} |
| 34 class Type {} | 34 class Type {} |
| 35 class StackTrace {} | 35 class StackTrace {} |
| 36 class LinkedHashMap {} | 36 class LinkedHashMap { |
| 37 factory LinkedHashMap._empty() => null; |
| 38 factory LinkedHashMap._literal(elements) => null; |
| 39 } |
| 37 class Math { | 40 class Math { |
| 38 static double parseDouble(String s) => 1.0; | 41 static double parseDouble(String s) => 1.0; |
| 39 } | 42 } |
| 40 print(x) {} | 43 print(x) {} |
| 41 identical(a, b) => true; | 44 identical(a, b) => true; |
| 42 const proxy = 0; | 45 const proxy = 0; |
| 43 '''; | 46 '''; |
| 44 | 47 |
| 45 const ioLib = r''' | 48 const ioLib = r''' |
| 46 library io; | 49 library io; |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 testStaticAccessIoLib(); | 734 testStaticAccessIoLib(); |
| 732 testLocalFunctionPlaceholder(); | 735 testLocalFunctionPlaceholder(); |
| 733 testMinification(); | 736 testMinification(); |
| 734 testClosureLocalsMinified(); | 737 testClosureLocalsMinified(); |
| 735 testParametersMinified(); | 738 testParametersMinified(); |
| 736 testDeclarationTypePlaceholders(); | 739 testDeclarationTypePlaceholders(); |
| 737 testPlatformLibraryMemberNamesAreFixed(); | 740 testPlatformLibraryMemberNamesAreFixed(); |
| 738 testConflictsWithCoreLib(); | 741 testConflictsWithCoreLib(); |
| 739 testUnresolvedNamedConstructor(); | 742 testUnresolvedNamedConstructor(); |
| 740 } | 743 } |
| OLD | NEW |