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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart

Issue 23653003: Importing unittest disables tree shaking Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
« no previous file with comments | « no previous file | tests/compiler/dart2js_extra/tree_woe_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
index 8b6f8725ad2f945ae4b9170ad68dae3e29f9da01..7805e3268277f24fa5a25dd2da917dec2bf219b2 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
@@ -1430,6 +1430,7 @@ class JavaScriptBackend extends Backend {
compiler.disableTypeInferenceForMirrors = true;
isTreeShakingDisabled = true;
enqueuer.enqueueEverything();
+ throw 'Unexpected disable tree shaking';
} else if (element == preserveNamesMarker) {
if (mustPreserveNames) return;
mustPreserveNames = true;
« no previous file with comments | « no previous file | tests/compiler/dart2js_extra/tree_woe_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698