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

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

Issue 1152903003: Create SendStructure for unary and binary in resolution. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments Created 5 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
« no previous file with comments | « pkg/compiler/lib/src/universe/universe.dart ('k') | tests/co19/co19-dart2js.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) 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 = "Computer says no!"; 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:
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 static const MessageKind NOT_CALLABLE = const MessageKind( 161 static const MessageKind NOT_CALLABLE = const MessageKind(
162 "'#{elementName}' is not callable."); 162 "'#{elementName}' is not callable.");
163 163
164 static const MessageKind MEMBER_NOT_STATIC = const MessageKind( 164 static const MessageKind MEMBER_NOT_STATIC = const MessageKind(
165 "'#{className}.#{memberName}' is not static."); 165 "'#{className}.#{memberName}' is not static.");
166 166
167 static const MessageKind NO_INSTANCE_AVAILABLE = const MessageKind( 167 static const MessageKind NO_INSTANCE_AVAILABLE = const MessageKind(
168 "'#{name}' is only available in instance methods."); 168 "'#{name}' is only available in instance methods.");
169 169
170 static const MessageKind NO_SUPER_AVAILABLE = const MessageKind(
171 "'super' is only available in instance methods.");
172
170 static const MessageKind PRIVATE_ACCESS = const MessageKind( 173 static const MessageKind PRIVATE_ACCESS = const MessageKind(
171 "'#{name}' is declared private within library " 174 "'#{name}' is declared private within library "
172 "'#{libraryName}'."); 175 "'#{libraryName}'.");
173 176
174 static const MessageKind THIS_IS_THE_DECLARATION = const MessageKind( 177 static const MessageKind THIS_IS_THE_DECLARATION = const MessageKind(
175 "This is the declaration of '#{name}'."); 178 "This is the declaration of '#{name}'.");
176 179
177 static const MessageKind THIS_IS_THE_METHOD = const MessageKind( 180 static const MessageKind THIS_IS_THE_METHOD = const MessageKind(
178 "This is the method declaration."); 181 "This is the method declaration.");
179 182
(...skipping 2376 matching lines...) Expand 10 before | Expand all | Expand 10 after
2556 static String convertToString(value) { 2559 static String convertToString(value) {
2557 if (value is ErrorToken) { 2560 if (value is ErrorToken) {
2558 // Shouldn't happen. 2561 // Shouldn't happen.
2559 return value.assertionMessage; 2562 return value.assertionMessage;
2560 } else if (value is Token) { 2563 } else if (value is Token) {
2561 value = value.value; 2564 value = value.value;
2562 } 2565 }
2563 return '$value'; 2566 return '$value';
2564 } 2567 }
2565 } 2568 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/universe/universe.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698