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

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

Issue 10968010: Import scope rules updated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 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 28 matching lines...) Expand all
39 static const CANNOT_RESOLVE = const MessageKind( 39 static const CANNOT_RESOLVE = const MessageKind(
40 'cannot resolve #{1}'); 40 'cannot resolve #{1}');
41 static const CANNOT_RESOLVE_CONSTRUCTOR = const MessageKind( 41 static const CANNOT_RESOLVE_CONSTRUCTOR = const MessageKind(
42 'cannot resolve constructor #{1}'); 42 'cannot resolve constructor #{1}');
43 static const CANNOT_RESOLVE_CONSTRUCTOR_FOR_IMPLICIT = const MessageKind( 43 static const CANNOT_RESOLVE_CONSTRUCTOR_FOR_IMPLICIT = const MessageKind(
44 'cannot resolve constructor #{1} for implicit super call'); 44 'cannot resolve constructor #{1} for implicit super call');
45 static const CANNOT_RESOLVE_TYPE = const MessageKind( 45 static const CANNOT_RESOLVE_TYPE = const MessageKind(
46 'cannot resolve type #{1}'); 46 'cannot resolve type #{1}');
47 static const DUPLICATE_DEFINITION = const MessageKind( 47 static const DUPLICATE_DEFINITION = const MessageKind(
48 'duplicate definition of #{1}'); 48 'duplicate definition of #{1}');
49 static const DUPLICATE_IMPORT = const MessageKind(
50 'duplicate import of #{1}');
49 static const NOT_A_TYPE = const MessageKind( 51 static const NOT_A_TYPE = const MessageKind(
50 '#{1} is not a type'); 52 '#{1} is not a type');
51 static const NOT_A_PREFIX = const MessageKind( 53 static const NOT_A_PREFIX = const MessageKind(
52 '#{1} is not a prefix'); 54 '#{1} is not a prefix');
53 static const NO_SUPER_IN_OBJECT = const MessageKind( 55 static const NO_SUPER_IN_OBJECT = const MessageKind(
54 "'Object' does not have a superclass"); 56 "'Object' does not have a superclass");
55 static const CANNOT_FIND_CONSTRUCTOR = const MessageKind( 57 static const CANNOT_FIND_CONSTRUCTOR = const MessageKind(
56 'cannot find constructor #{1}'); 58 'cannot find constructor #{1}');
57 static const CANNOT_FIND_CONSTRUCTOR2 = const MessageKind( 59 static const CANNOT_FIND_CONSTRUCTOR2 = const MessageKind(
58 'cannot find constructor #{1} in #{2}'); 60 'cannot find constructor #{1} in #{2}');
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 344
343 class CompileTimeConstantError extends Diagnostic { 345 class CompileTimeConstantError extends Diagnostic {
344 CompileTimeConstantError(MessageKind kind, List arguments) 346 CompileTimeConstantError(MessageKind kind, List arguments)
345 : super(kind, arguments); 347 : super(kind, arguments);
346 } 348 }
347 349
348 class CompilationError extends Diagnostic { 350 class CompilationError extends Diagnostic {
349 CompilationError(MessageKind kind, List arguments) 351 CompilationError(MessageKind kind, List arguments)
350 : super(kind, arguments); 352 : super(kind, arguments);
351 } 353 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698