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

Side by Side Diff: runtime/vm/parser.cc

Issue 2540453002: Turn on initializing formal access (Closed)
Patch Set: 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 | tests/lib/lib.status » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #include "vm/parser.h" 5 #include "vm/parser.h"
6 #include "vm/flags.h" 6 #include "vm/flags.h"
7 7
8 #ifndef DART_PRECOMPILED_RUNTIME 8 #ifndef DART_PRECOMPILED_RUNTIME
9 9
10 #include "lib/invocation_mirror.h" 10 #include "lib/invocation_mirror.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 DEFINE_FLAG(bool, warn_new_tearoff_syntax, true, "Warning on new tear off."); 48 DEFINE_FLAG(bool, warn_new_tearoff_syntax, true, "Warning on new tear off.");
49 // TODO(floitsch): remove the conditional-directive flag, once we publicly 49 // TODO(floitsch): remove the conditional-directive flag, once we publicly
50 // committed to the current version. 50 // committed to the current version.
51 DEFINE_FLAG(bool, 51 DEFINE_FLAG(bool,
52 conditional_directives, 52 conditional_directives,
53 true, 53 true,
54 "Enable conditional directives"); 54 "Enable conditional directives");
55 DEFINE_FLAG(bool, generic_method_syntax, true, "Enable generic functions."); 55 DEFINE_FLAG(bool, generic_method_syntax, true, "Enable generic functions.");
56 DEFINE_FLAG(bool, 56 DEFINE_FLAG(bool,
57 initializing_formal_access, 57 initializing_formal_access,
58 false, 58 true,
59 "Make initializing formal parameters visible in initializer list."); 59 "Make initializing formal parameters visible in initializer list.");
60 DEFINE_FLAG(bool, 60 DEFINE_FLAG(bool,
61 warn_super, 61 warn_super,
62 false, 62 false,
63 "Warning if super initializer not last in initializer list."); 63 "Warning if super initializer not last in initializer list.");
64 DEFINE_FLAG(bool, warn_patch, false, "Warn on old-style patch syntax."); 64 DEFINE_FLAG(bool, warn_patch, false, "Warn on old-style patch syntax.");
65 DEFINE_FLAG( 65 DEFINE_FLAG(
66 bool, 66 bool,
67 await_is_keyword, 67 await_is_keyword,
68 false, 68 false,
(...skipping 14436 matching lines...) Expand 10 before | Expand all | Expand 10 after
14505 const ArgumentListNode& function_args, 14505 const ArgumentListNode& function_args,
14506 const LocalVariable* temp_for_last_arg, 14506 const LocalVariable* temp_for_last_arg,
14507 bool is_super_invocation) { 14507 bool is_super_invocation) {
14508 UNREACHABLE(); 14508 UNREACHABLE();
14509 return NULL; 14509 return NULL;
14510 } 14510 }
14511 14511
14512 } // namespace dart 14512 } // namespace dart
14513 14513
14514 #endif // DART_PRECOMPILED_RUNTIME 14514 #endif // DART_PRECOMPILED_RUNTIME
OLDNEW
« no previous file with comments | « no previous file | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698