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); |