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

Unified Diff: samples/build_dart_simple/build.dart

Issue 52573002: Remove uses of Options from pkg, samples, tests, and third_party directories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Edit comment Created 7 years, 2 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 | « samples/build_dart/build.dart ('k') | tests/standalone/debugger/basic_debugger_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/build_dart_simple/build.dart
diff --git a/samples/build_dart_simple/build.dart b/samples/build_dart_simple/build.dart
index 7dc0bcbfa36f93f00ae4660ce67e3193257c9660..0345f74a54b475547be504b4735e08bd4666ea23 100644
--- a/samples/build_dart_simple/build.dart
+++ b/samples/build_dart_simple/build.dart
@@ -11,8 +11,8 @@ import "dart:io";
* In order to be invoked automatically by the Editor, this script must be named
* 'build.dart' and placed in the root of a project.
*/
-void main() {
- for (String arg in new Options().arguments) {
+void main(List<String> arguments) {
+ for (String arg in arguments) {
if (arg.startsWith("--changed=")) {
String file = arg.substring("--changed=".length);
« no previous file with comments | « samples/build_dart/build.dart ('k') | tests/standalone/debugger/basic_debugger_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698