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

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

Issue 15689009: Type check try statements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename variable. Created 7 years, 6 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
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 'dart:uri'; 7 import 'dart:uri';
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 11 matching lines...) Expand all
22 class double extends num {} 22 class double extends num {}
23 abstract class String {} 23 abstract class String {}
24 class Function {} 24 class Function {}
25 class List<T> {} 25 class List<T> {}
26 class Map<K,V> {} 26 class Map<K,V> {}
27 class Closure {} 27 class Closure {}
28 class Dynamic_ {} 28 class Dynamic_ {}
29 class Null {} 29 class Null {}
30 class TypeError {} 30 class TypeError {}
31 class Type {} 31 class Type {}
32 class StackTrace {}
32 class LinkedHashMap {} 33 class LinkedHashMap {}
33 class Math { 34 class Math {
34 static double parseDouble(String s) => 1.0; 35 static double parseDouble(String s) => 1.0;
35 } 36 }
36 print(x) {} 37 print(x) {}
37 identical(a, b) => true; 38 identical(a, b) => true;
38 '''; 39 ''';
39 40
40 const ioLib = r''' 41 const ioLib = r'''
41 library io; 42 library io;
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 testStaticAccessIoLib(); 723 testStaticAccessIoLib();
723 testLocalFunctionPlaceholder(); 724 testLocalFunctionPlaceholder();
724 testMinification(); 725 testMinification();
725 testClosureLocalsMinified(); 726 testClosureLocalsMinified();
726 testParametersMinified(); 727 testParametersMinified();
727 testDeclarationTypePlaceholders(); 728 testDeclarationTypePlaceholders();
728 testPlatformLibraryMemberNamesAreFixed(); 729 testPlatformLibraryMemberNamesAreFixed();
729 testConflictsWithCoreLib(); 730 testConflictsWithCoreLib();
730 testUnresolvedNamedConstructor(); 731 testUnresolvedNamedConstructor();
731 } 732 }
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