| Index: sdk/lib/_internal/compiler/samples/darttags/darttags.dart
|
| diff --git a/sdk/lib/_internal/compiler/samples/darttags/darttags.dart b/sdk/lib/_internal/compiler/samples/darttags/darttags.dart
|
| index 54e8d7bf32ebde080c7ef26e48fe203a06e7ff62..4a3cd47a12dfd5af9de8222f91eef24db83bd298 100644
|
| --- a/sdk/lib/_internal/compiler/samples/darttags/darttags.dart
|
| +++ b/sdk/lib/_internal/compiler/samples/darttags/darttags.dart
|
| @@ -51,20 +51,16 @@ var handler;
|
| RandomAccessFile output;
|
| Uri outputUri;
|
|
|
| -main() {
|
| - mainWithOptions(new Options());
|
| -}
|
| -
|
| -mainWithOptions(Options options) {
|
| +main(List<String> arguments) {
|
| handler = new FormattingDiagnosticHandler()
|
| ..throwOnError = true;
|
|
|
| outputUri =
|
| - handler.provider.cwd.resolve(nativeToUriPath(options.arguments.first));
|
| - output = new File(options.arguments.first).openSync(mode: FileMode.WRITE);
|
| + handler.provider.cwd.resolve(nativeToUriPath(arguments.first));
|
| + output = new File(arguments.first).openSync(mode: FileMode.WRITE);
|
|
|
| Uri myLocation =
|
| - handler.provider.cwd.resolve(nativeToUriPath(options.script));
|
| + handler.provider.cwd.resolve(nativeToUriPath(Platform.script));
|
|
|
| // Get the names of public dart2js libraries.
|
| Iterable<String> names = LIBRARIES.keys.where(isPublicDart2jsLibrary);
|
|
|