Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Side by Side Diff: tests/compiler/dart2js/dart_backend_test.dart

Issue 12079098: Revert "Take type arguments into account in interface type subtype check." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/co19/co19-dart2js.status ('k') | tests/compiler/dart2js/subtype_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'dart:async'; 5 import 'dart:async';
6 import 'dart:uri'; 6 import 'dart:uri';
7 import 'parser_helper.dart'; 7 import 'parser_helper.dart';
8 import 'mock_compiler.dart'; 8 import 'mock_compiler.dart';
9 import '../../../sdk/lib/_internal/compiler/compiler.dart'; 9 import '../../../sdk/lib/_internal/compiler/compiler.dart';
10 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' as l eg; 10 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' as l eg;
11 import '../../../sdk/lib/_internal/compiler/implementation/dart_backend/dart_bac kend.dart'; 11 import '../../../sdk/lib/_internal/compiler/implementation/dart_backend/dart_bac kend.dart';
12 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar t'; 12 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar t';
13 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart'; 13 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart';
14 14
15 const coreLib = r''' 15 const coreLib = r'''
16 library corelib; 16 library corelib;
17 class Object {} 17 class Object {}
18 interface bool {} 18 interface bool {}
19 interface num {} 19 interface num {}
20 interface int extends num {} 20 interface int extends num {}
21 interface double extends num {} 21 interface double extends num {}
22 abstract class String {} 22 abstract class String {}
23 interface Function {} 23 interface Function {}
24 interface List<T> {} 24 interface List {}
25 interface Map<K,V> {} 25 interface Map {}
26 interface Closure {} 26 interface Closure {}
27 interface Dynamic_ {} 27 interface Dynamic_ {}
28 interface Null {} 28 interface Null {}
29 interface TypeError {} 29 interface TypeError {}
30 class Type {} 30 class Type {}
31 class Math { 31 class Math {
32 static double parseDouble(String s) => 1.0; 32 static double parseDouble(String s) => 1.0;
33 } 33 }
34 print(x) {} 34 print(x) {}
35 '''; 35 ''';
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 testStaticAccessIoLib(); 754 testStaticAccessIoLib();
755 testLocalFunctionPlaceholder(); 755 testLocalFunctionPlaceholder();
756 testMinification(); 756 testMinification();
757 testClosureLocalsMinified(); 757 testClosureLocalsMinified();
758 testParametersMinified(); 758 testParametersMinified();
759 testDeclarationTypePlaceholders(); 759 testDeclarationTypePlaceholders();
760 testPlatformLibraryMemberNamesAreFixed(); 760 testPlatformLibraryMemberNamesAreFixed();
761 testConflictsWithCoreLib(); 761 testConflictsWithCoreLib();
762 testUnresolvedNamedConstructor(); 762 testUnresolvedNamedConstructor();
763 } 763 }
OLDNEW
« no previous file with comments | « tests/co19/co19-dart2js.status ('k') | tests/compiler/dart2js/subtype_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698