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

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

Issue 1917863002: Replace _analyzeElementEagerly with Resolution.ensureResolved (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: dartfmt Created 4 years, 8 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
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | no next file » | 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 library dart2js.analyze_test.test; 5 library dart2js.analyze_test.test;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'package:async_helper/async_helper.dart'; 9 import 'package:async_helper/async_helper.dart';
10 import 'package:compiler/src/apiimpl.dart' show 10 import 'package:compiler/src/apiimpl.dart' show
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "http_launch_data/", 42 "http_launch_data/",
43 "mirrors_helper.dart", 43 "mirrors_helper.dart",
44 "path%20with%20spaces/", 44 "path%20with%20spaces/",
45 "one_line_dart_program.dart", 45 "one_line_dart_program.dart",
46 "sourcemaps/invokes_test_file.dart", 46 "sourcemaps/invokes_test_file.dart",
47 "cps_ir/input/", 47 "cps_ir/input/",
48 // No longer maintained: 48 // No longer maintained:
49 "backend_dart/", 49 "backend_dart/",
50 // Broken tests: 50 // Broken tests:
51 "http_test.dart", 51 "http_test.dart",
52 // Package directory
53 "packages/",
52 ]; 54 ];
53 55
54 const List<MessageKind> MESSAGE_SKIP_LIST = const <MessageKind>[ 56 const List<MessageKind> MESSAGE_SKIP_LIST = const <MessageKind>[
55 // TODO(johnniwinther): Support checking of this warning. (Issue 26132) 57 // TODO(johnniwinther): Support checking of this warning. (Issue 26132)
56 MessageKind.IMPORT_EXPERIMENTAL_MIRRORS, 58 MessageKind.IMPORT_EXPERIMENTAL_MIRRORS,
57 ]; 59 ];
58 60
59 main(List<String> arguments) { 61 main(List<String> arguments) {
60 List<String> options = <String>[]; 62 List<String> options = <String>[];
61 for (String argument in arguments) { 63 for (String argument in arguments) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 97 }
96 } 98 }
97 await analyze( 99 await analyze(
98 uriList, 100 uriList,
99 WHITE_LIST, 101 WHITE_LIST,
100 mode: AnalysisMode.URI, 102 mode: AnalysisMode.URI,
101 options: options, 103 options: options,
102 skipList: MESSAGE_SKIP_LIST); 104 skipList: MESSAGE_SKIP_LIST);
103 }); 105 });
104 } 106 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698