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

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

Issue 719443002: Incremental compilation: set up inheritance. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Negate and document ClassWorld.hasClosedWorldAssumption. 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 part of dart2js; 5 part of dart2js;
6 6
7 const DONT_KNOW_HOW_TO_FIX = ""; 7 const DONT_KNOW_HOW_TO_FIX = "Computer says no!";
8 8
9 /** 9 /**
10 * The messages in this file should meet the following guide lines: 10 * The messages in this file should meet the following guide lines:
11 * 11 *
12 * 1. The message should be a complete sentence starting with an uppercase 12 * 1. The message should be a complete sentence starting with an uppercase
13 * letter, and ending with a period. 13 * letter, and ending with a period.
14 * 14 *
15 * 2. Reserved words and embedded identifiers should be in single quotes, so 15 * 2. Reserved words and embedded identifiers should be in single quotes, so
16 * prefer double quotes for the complete message. For example, "The 16 * prefer double quotes for the complete message. For example, "The
17 * class '#{className}' can't use 'super'." Notice that the word 'class' in the 17 * class '#{className}' can't use 'super'." Notice that the word 'class' in the
(...skipping 2216 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 static String convertToString(value) { 2234 static String convertToString(value) {
2235 if (value is ErrorToken) { 2235 if (value is ErrorToken) {
2236 // Shouldn't happen. 2236 // Shouldn't happen.
2237 return value.assertionMessage; 2237 return value.assertionMessage;
2238 } else if (value is Token) { 2238 } else if (value is Token) {
2239 value = value.value; 2239 value = value.value;
2240 } 2240 }
2241 return '$value'; 2241 return '$value';
2242 } 2242 }
2243 } 2243 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698