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

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

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (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
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
7 class MessageKind { 5 class MessageKind {
8 final String template; 6 final String template;
9 const MessageKind(this.template); 7 const MessageKind(this.template);
10 8
11 static const GENERIC = const MessageKind('#{1}'); 9 static const GENERIC = const MessageKind('#{1}');
12 10
13 static const NOT_ASSIGNABLE = const MessageKind( 11 static const NOT_ASSIGNABLE = const MessageKind(
14 '#{2} is not assignable to #{1}'); 12 '#{2} is not assignable to #{1}');
15 static const VOID_EXPRESSION = const MessageKind( 13 static const VOID_EXPRESSION = const MessageKind(
16 'expression does not yield a value'); 14 'expression does not yield a value');
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 404
407 class CompileTimeConstantError extends Diagnostic { 405 class CompileTimeConstantError extends Diagnostic {
408 CompileTimeConstantError(MessageKind kind, List arguments) 406 CompileTimeConstantError(MessageKind kind, List arguments)
409 : super(kind, arguments); 407 : super(kind, arguments);
410 } 408 }
411 409
412 class CompilationError extends Diagnostic { 410 class CompilationError extends Diagnostic {
413 CompilationError(MessageKind kind, List arguments) 411 CompilationError(MessageKind kind, List arguments)
414 : super(kind, arguments); 412 : super(kind, arguments);
415 } 413 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/util/util_implementation.dart ('k') | dart/lib/compiler/implementation/world.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698