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

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

Issue 11262032: Add 'part of' in dart2js code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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;
6
5 class MessageKind { 7 class MessageKind {
6 final String template; 8 final String template;
7 const MessageKind(this.template); 9 const MessageKind(this.template);
8 10
9 static const GENERIC = const MessageKind('#{1}'); 11 static const GENERIC = const MessageKind('#{1}');
10 12
11 static const NOT_ASSIGNABLE = const MessageKind( 13 static const NOT_ASSIGNABLE = const MessageKind(
12 '#{2} is not assignable to #{1}'); 14 '#{2} is not assignable to #{1}');
13 static const VOID_EXPRESSION = const MessageKind( 15 static const VOID_EXPRESSION = const MessageKind(
14 'expression does not yield a value'); 16 'expression does not yield a value');
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 406
405 class CompileTimeConstantError extends Diagnostic { 407 class CompileTimeConstantError extends Diagnostic {
406 CompileTimeConstantError(MessageKind kind, List arguments) 408 CompileTimeConstantError(MessageKind kind, List arguments)
407 : super(kind, arguments); 409 : super(kind, arguments);
408 } 410 }
409 411
410 class CompilationError extends Diagnostic { 412 class CompilationError extends Diagnostic {
411 CompilationError(MessageKind kind, List arguments) 413 CompilationError(MessageKind kind, List arguments)
412 : super(kind, arguments); 414 : super(kind, arguments);
413 } 415 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/util/util_implementation.dart ('k') | lib/compiler/implementation/world.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698