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

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

Issue 98533005: Handle @proxy classes in type checker. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years 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
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 "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 21 matching lines...) Expand all
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 class Math { 37 class Math {
38 static double parseDouble(String s) => 1.0; 38 static double parseDouble(String s) => 1.0;
39 } 39 }
40 print(x) {} 40 print(x) {}
41 identical(a, b) => true; 41 identical(a, b) => true;
42 const proxy = 0;
42 '''; 43 ''';
43 44
44 const ioLib = r''' 45 const ioLib = r'''
45 library io; 46 library io;
46 class Platform { 47 class Platform {
47 static int operatingSystem; 48 static int operatingSystem;
48 } 49 }
49 '''; 50 ''';
50 51
51 const htmlLib = r''' 52 const htmlLib = r'''
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 testStaticAccessIoLib(); 730 testStaticAccessIoLib();
730 testLocalFunctionPlaceholder(); 731 testLocalFunctionPlaceholder();
731 testMinification(); 732 testMinification();
732 testClosureLocalsMinified(); 733 testClosureLocalsMinified();
733 testParametersMinified(); 734 testParametersMinified();
734 testDeclarationTypePlaceholders(); 735 testDeclarationTypePlaceholders();
735 testPlatformLibraryMemberNamesAreFixed(); 736 testPlatformLibraryMemberNamesAreFixed();
736 testConflictsWithCoreLib(); 737 testConflictsWithCoreLib();
737 testUnresolvedNamedConstructor(); 738 testUnresolvedNamedConstructor();
738 } 739 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cpa_inference_test.dart ('k') | tests/compiler/dart2js/mock_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698