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

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

Issue 2021133003: Revert "Introduces "--initializing-formal-access"." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
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' show EventSink, Future; 7 import 'dart:async' show EventSink, Future;
8 import 'dart:convert' show UTF8, LineSplitter; 8 import 'dart:convert' show UTF8, LineSplitter;
9 import 'dart:io' show exit, File, FileMode, Platform, stdin, stderr; 9 import 'dart:io' show exit, File, FileMode, Platform, stdin, stderr;
10 10
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 setOutputType), 331 setOutputType),
332 new OptionHandler(Flags.useCpsIr, passThrough), 332 new OptionHandler(Flags.useCpsIr, passThrough),
333 new OptionHandler(Flags.noFrequencyBasedMinification, passThrough), 333 new OptionHandler(Flags.noFrequencyBasedMinification, passThrough),
334 new OptionHandler(Flags.verbose, setVerbose), 334 new OptionHandler(Flags.verbose, setVerbose),
335 new OptionHandler(Flags.version, (_) => wantVersion = true), 335 new OptionHandler(Flags.version, (_) => wantVersion = true),
336 new OptionHandler('--library-root=.+', setLibraryRoot), 336 new OptionHandler('--library-root=.+', setLibraryRoot),
337 new OptionHandler('--out=.+|-o.*', setOutput, multipleArguments: true), 337 new OptionHandler('--out=.+|-o.*', setOutput, multipleArguments: true),
338 new OptionHandler(Flags.allowMockCompilation, passThrough), 338 new OptionHandler(Flags.allowMockCompilation, passThrough),
339 new OptionHandler(Flags.fastStartup, passThrough), 339 new OptionHandler(Flags.fastStartup, passThrough),
340 new OptionHandler(Flags.genericMethodSyntax, passThrough), 340 new OptionHandler(Flags.genericMethodSyntax, passThrough),
341 new OptionHandler(Flags.initializingFormalAccess, passThrough),
342 new OptionHandler('${Flags.minify}|-m', implyCompilation), 341 new OptionHandler('${Flags.minify}|-m', implyCompilation),
343 new OptionHandler(Flags.preserveUris, passThrough), 342 new OptionHandler(Flags.preserveUris, passThrough),
344 new OptionHandler('--force-strip=.*', setStrip), 343 new OptionHandler('--force-strip=.*', setStrip),
345 new OptionHandler(Flags.disableDiagnosticColors, 344 new OptionHandler(Flags.disableDiagnosticColors,
346 (_) => diagnosticHandler.enableColors = false), 345 (_) => diagnosticHandler.enableColors = false),
347 new OptionHandler(Flags.enableDiagnosticColors, 346 new OptionHandler(Flags.enableDiagnosticColors,
348 (_) => diagnosticHandler.enableColors = true), 347 (_) => diagnosticHandler.enableColors = true),
349 new OptionHandler('--enable[_-]checked[_-]mode|--checked', 348 new OptionHandler('--enable[_-]checked[_-]mode|--checked',
350 (_) => setCheckedMode(Flags.enableCheckedMode)), 349 (_) => setCheckedMode(Flags.enableCheckedMode)),
351 new OptionHandler(Flags.trustTypeAnnotations, 350 new OptionHandler(Flags.trustTypeAnnotations,
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 @override 910 @override
912 void close() { 911 void close() {
913 // Do nothing. 912 // Do nothing.
914 } 913 }
915 914
916 @override 915 @override
917 void addError(errorEvent, [StackTrace stackTrace]) { 916 void addError(errorEvent, [StackTrace stackTrace]) {
918 // Ignore 917 // Ignore
919 } 918 }
920 } 919 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/compile_time_constants.dart ('k') | pkg/compiler/lib/src/diagnostics/messages.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698