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

Unified Diff: dart/pkg/compiler/lib/src/use_unused_api.dart

Issue 789873003: Update unit tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years 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 | dart/tests/try/poi/apply_updates_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/lib/src/use_unused_api.dart
diff --git a/dart/pkg/compiler/lib/src/use_unused_api.dart b/dart/pkg/compiler/lib/src/use_unused_api.dart
index 3577bbecbfa62e6b31e5ec9e1274871d5b619bcd..4a4c351a3ecf8f257ee0d070ebd9b3901169c336 100644
--- a/dart/pkg/compiler/lib/src/use_unused_api.dart
+++ b/dart/pkg/compiler/lib/src/use_unused_api.dart
@@ -63,6 +63,7 @@ void main(List<String> arguments) {
useCompiler(null);
useTypes();
useCodeEmitterTask(null);
+ useScript(null);
}
useApi() {
@@ -270,3 +271,7 @@ useTypes() {
useCodeEmitterTask(js_emitter.CodeEmitterTask codeEmitterTask) {
codeEmitterTask.oldEmitter.clearCspPrecompiledNodes();
}
+
+useScript(dart2jslib.Script script) {
+ script.copyWithFile(null);
+}
« no previous file with comments | « no previous file | dart/tests/try/poi/apply_updates_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698