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

Side by Side Diff: pkg/compiler/lib/src/dart2js.dart

Issue 717103004: Revert "Emit warning on import of dart:mirrors." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/dart2jslib.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.cmdline; 5 library dart2js.cmdline;
6 6
7 import 'dart:async' 7 import 'dart:async'
8 show Future, EventSink; 8 show Future, EventSink;
9 import 'dart:convert' show UTF8, LineSplitter; 9 import 'dart:convert' show UTF8, LineSplitter;
10 import 'dart:io' 10 import 'dart:io'
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 new OptionHandler('--analyze-signatures-only', setAnalyzeOnly), 325 new OptionHandler('--analyze-signatures-only', setAnalyzeOnly),
326 new OptionHandler('--disable-native-live-type-analysis', passThrough), 326 new OptionHandler('--disable-native-live-type-analysis', passThrough),
327 new OptionHandler('--categories=.*', setCategories), 327 new OptionHandler('--categories=.*', setCategories),
328 new OptionHandler('--disable-type-inference', implyCompilation), 328 new OptionHandler('--disable-type-inference', implyCompilation),
329 new OptionHandler('--terse', passThrough), 329 new OptionHandler('--terse', passThrough),
330 new OptionHandler('--dump-info', implyCompilation), 330 new OptionHandler('--dump-info', implyCompilation),
331 new OptionHandler('--disallow-unsafe-eval', 331 new OptionHandler('--disallow-unsafe-eval',
332 (_) => hasDisallowUnsafeEval = true), 332 (_) => hasDisallowUnsafeEval = true),
333 new OptionHandler('--show-package-warnings', passThrough), 333 new OptionHandler('--show-package-warnings', passThrough),
334 new OptionHandler('--csp', passThrough), 334 new OptionHandler('--csp', passThrough),
335 new OptionHandler('--enable-experimental-mirrors', passThrough),
336 new OptionHandler('--enable-async', setEnableAsync), 335 new OptionHandler('--enable-async', setEnableAsync),
337 new OptionHandler('--enable-enum', passThrough), 336 new OptionHandler('--enable-enum', passThrough),
338 new OptionHandler('-D.+=.*', addInEnvironment), 337 new OptionHandler('-D.+=.*', addInEnvironment),
339 338
340 // The following two options must come last. 339 // The following two options must come last.
341 new OptionHandler('-.*', (String argument) { 340 new OptionHandler('-.*', (String argument) {
342 helpAndFail("Unknown option '$argument'."); 341 helpAndFail("Unknown option '$argument'.");
343 }), 342 }),
344 new OptionHandler('.*', (String argument) { 343 new OptionHandler('.*', (String argument) {
345 arguments.add(nativeToUriPath(argument)); 344 arguments.add(nativeToUriPath(argument));
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 } else if (exitCode == 253) { 689 } else if (exitCode == 253) {
691 print(">>> TEST CRASH"); 690 print(">>> TEST CRASH");
692 } else { 691 } else {
693 print(">>> TEST FAIL"); 692 print(">>> TEST FAIL");
694 } 693 }
695 stderr.writeln(">>> EOF STDERR"); 694 stderr.writeln(">>> EOF STDERR");
696 subscription.resume(); 695 subscription.resume();
697 }); 696 });
698 }); 697 });
699 } 698 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/dart2jslib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698