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

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

Issue 1352533002: 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 8c68b18d92064f24d938922819326cf5aa670adc..a859186ce5fbe37fec6644167386b710699d791e 100644
--- a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
+++ b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
@@ -70,8 +70,13 @@ 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], WHITE_LIST,
- analyzeAll: false, checkResults: checkResults));
+ asyncTest(() => analyze(
+ [uri],
+ // TODO(johnniwinther): Use [WHITE_LIST] again when
+ // [Compiler.reportUnusedCode] is reenabled.
+ const {}, // WHITE_LIST
+ analyzeAll: false,
+ checkResults: checkResults));
}
bool checkResults(Compiler compiler, CollectingDiagnosticHandler handler) {

Powered by Google App Engine
This is Rietveld 408576698