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

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

Issue 2141023002: Make initializing formal access available by default (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Additional clean-up, now ready to land Created 4 years 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compile_time_constants.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.options; 5 library dart2js.cmdline.options;
6 6
7 /// Commandline flags used in `dart2js.dart` and/or `apiimpl.dart`. 7 /// Commandline flags used in `dart2js.dart` and/or `apiimpl.dart`.
8 class Flags { 8 class Flags {
9 static const String allowMockCompilation = '--allow-mock-compilation'; 9 static const String allowMockCompilation = '--allow-mock-compilation';
10 static const String allowNativeExtensions = '--allow-native-extensions'; 10 static const String allowNativeExtensions = '--allow-native-extensions';
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // but considering all method type variables to have bound `dynamic` no 67 // but considering all method type variables to have bound `dynamic` no
68 // matter which bound they have syntactically (such that their value as types 68 // matter which bound they have syntactically (such that their value as types
69 // is unchecked), and then replacing method type variables by a `DynamicType` 69 // is unchecked), and then replacing method type variables by a `DynamicType`
70 // (such that the backend does not need to take method type arguments into 70 // (such that the backend does not need to take method type arguments into
71 // account). 71 // account).
72 // 72 //
73 // The feature has an informal specification which is available at 73 // The feature has an informal specification which is available at
74 // https://gist.github.com/eernstg/4353d7b4f669745bed3a5423e04a453c. 74 // https://gist.github.com/eernstg/4353d7b4f669745bed3a5423e04a453c.
75 static const String genericMethodSyntax = '--generic-method-syntax'; 75 static const String genericMethodSyntax = '--generic-method-syntax';
76 76
77 // Initializing-formal access is enabled by default and cannot be disabled.
78 // For backward compatibility the option is still accepted, but it is ignored.
79 static const String initializingFormalAccess = '--initializing-formal-access';
80
77 // Experimental flags. 81 // Experimental flags.
78 static const String resolveOnly = '--resolve-only'; 82 static const String resolveOnly = '--resolve-only';
79 static const String initializingFormalAccess = '--initializing-formal-access';
80 } 83 }
81 84
82 class Option { 85 class Option {
83 static const String showPackageWarnings = 86 static const String showPackageWarnings =
84 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*'; 87 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*';
85 88
86 // Experimental options. 89 // Experimental options.
87 static const String resolutionInput = '--resolution-input=.+'; 90 static const String resolutionInput = '--resolution-input=.+';
88 static const String bazelPaths = '--bazel-paths=.+'; 91 static const String bazelPaths = '--bazel-paths=.+';
89 } 92 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compile_time_constants.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698