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

Unified Diff: runtime/vm/scanner.cc

Issue 8676001: Implement type checking of list literals (issue 220). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/parser.cc ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scanner.cc
===================================================================
--- runtime/vm/scanner.cc (revision 1805)
+++ runtime/vm/scanner.cc (working copy)
@@ -13,7 +13,6 @@
namespace dart {
DEFINE_FLAG(bool, print_tokens, false, "Print scanned tokens.");
-DECLARE_FLAG(bool, expose_core_impl);
void Scanner::InitKeywordTable() {
for (int i = 0; i < Token::numKeywords; i++) {
@@ -252,7 +251,7 @@
current_token_.kind = Token::kIDENT;
String& literal =
String::ZoneHandle(String::NewSymbol(source_, ident_pos, ident_length));
- if ((ident_char0 == kPrivateIdentifierStart) && !FLAG_expose_core_impl) {
+ if (ident_char0 == kPrivateIdentifierStart) {
// Private identifiers are mangled on a per script basis.
literal = String::Concat(literal, private_key_);
literal = String::NewSymbol(literal);
« no previous file with comments | « runtime/vm/parser.cc ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698