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

Unified Diff: tests/compiler/dart2js/analyze_unused_dart2js_test.dart

Issue 1354603002: Revert "Enqueue superclasses instead of supertypes." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/analyze_unused_dart2js_test.dart
diff --git a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
index 9e12791a6543eb172de5ef671d18fdf9938504de..10fc5a594476a96a9f3536a2cc6b00fa81a65cf4 100644
--- a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
+++ b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
@@ -71,13 +71,8 @@ const Map<String, List<String>> WHITE_LIST = const {
void main() {
var uri = currentDirectory.resolve(
'pkg/compiler/lib/src/use_unused_api.dart');
- asyncTest(() => analyze(
- [uri],
- // TODO(johnniwinther): Use [WHITE_LIST] again when
- // [Compiler.reportUnusedCode] is reenabled.
- const {}, // WHITE_LIST
- analyzeAll: false,
- checkResults: checkResults));
+ asyncTest(() => analyze([uri], WHITE_LIST,
+ analyzeAll: false, checkResults: checkResults));
}
bool checkResults(Compiler compiler, CollectingDiagnosticHandler handler) {
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/js_array.dart ('k') | tests/compiler/dart2js/array_static_intercept_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698