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

Side by Side Diff: dart/lib/compiler/implementation/warnings.dart

Issue 11028022: Tweak dart2js crash message (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 class MessageKind { 5 class MessageKind {
6 final String template; 6 final String template;
7 const MessageKind(this.template); 7 const MessageKind(this.template);
8 8
9 static const GENERIC = const MessageKind('#{1}'); 9 static const GENERIC = const MessageKind('#{1}');
10 10
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 276
277 The Dart team would greatly appreciate if you would take a moment to 277 The Dart team would greatly appreciate if you would take a moment to
278 report this problem at http://dartbug.com/new. 278 report this problem at http://dartbug.com/new.
279 279
280 Please include the following information: 280 Please include the following information:
281 281
282 * the name and version of your operating system, 282 * the name and version of your operating system,
283 283
284 * the Dart SDK build number (#{1}), and 284 * the Dart SDK build number (#{1}), and
285 285
286 * the stack trace you see here. 286 * the entire message you see here (including the full stack trace
287 below as well as the source location above).
287 '''); 288 ''');
288 289
289 toString() => template; 290 toString() => template;
290 291
291 Message message([List arguments = const []]) { 292 Message message([List arguments = const []]) {
292 return new Message(this, arguments); 293 return new Message(this, arguments);
293 } 294 }
294 295
295 CompilationError error([List arguments = const []]) { 296 CompilationError error([List arguments = const []]) {
296 return new CompilationError(this, arguments); 297 return new CompilationError(this, arguments);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 355
355 class CompileTimeConstantError extends Diagnostic { 356 class CompileTimeConstantError extends Diagnostic {
356 CompileTimeConstantError(MessageKind kind, List arguments) 357 CompileTimeConstantError(MessageKind kind, List arguments)
357 : super(kind, arguments); 358 : super(kind, arguments);
358 } 359 }
359 360
360 class CompilationError extends Diagnostic { 361 class CompilationError extends Diagnostic {
361 CompilationError(MessageKind kind, List arguments) 362 CompilationError(MessageKind kind, List arguments)
362 : super(kind, arguments); 363 : super(kind, arguments);
363 } 364 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698