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

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

Issue 21074002: Remove support for missing part-of tag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased and updated cf. comment. Created 7 years, 4 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; 5 part of dart2js;
6 6
7 /** 7 /**
8 * The messages in this file should meet the following guide lines: 8 * The messages in this file should meet the following guide lines:
9 * 9 *
10 * 1. The message should start with exactly one of "Error", "Internal error", 10 * 1. The message should start with exactly one of "Error", "Internal error",
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 static const MessageKind VOID_NOT_ALLOWED = const MessageKind( 527 static const MessageKind VOID_NOT_ALLOWED = const MessageKind(
528 'Error: Type "void" is only allowed in a return type.'); 528 'Error: Type "void" is only allowed in a return type.');
529 529
530 static const MessageKind BEFORE_TOP_LEVEL = const MessageKind( 530 static const MessageKind BEFORE_TOP_LEVEL = const MessageKind(
531 'Error: Part header must come before top-level definitions.'); 531 'Error: Part header must come before top-level definitions.');
532 532
533 static const MessageKind LIBRARY_NAME_MISMATCH = const MessageKind( 533 static const MessageKind LIBRARY_NAME_MISMATCH = const MessageKind(
534 'Warning: Expected part of library name "#{libraryName}".'); 534 'Warning: Expected part of library name "#{libraryName}".');
535 535
536 static const MessageKind MISSING_PART_OF_TAG = const MessageKind( 536 static const MessageKind MISSING_PART_OF_TAG = const MessageKind(
537 'Note: This file has no part-of tag, but it is being used as a part.'); 537 'Error: This file has no part-of tag, but it is being used as a part.');
538 538
539 static const MessageKind DUPLICATED_PART_OF = const MessageKind( 539 static const MessageKind DUPLICATED_PART_OF = const MessageKind(
540 'Error: Duplicated part-of directive.'); 540 'Error: Duplicated part-of directive.');
541 541
542 static const MessageKind ILLEGAL_DIRECTIVE = const MessageKind( 542 static const MessageKind ILLEGAL_DIRECTIVE = const MessageKind(
543 'Error: Directive not allowed here.'); 543 'Error: Directive not allowed here.');
544 544
545 static const MessageKind DUPLICATED_LIBRARY_NAME = const MessageKind( 545 static const MessageKind DUPLICATED_LIBRARY_NAME = const MessageKind(
546 'Warning: Duplicated library name "#{libraryName}".'); 546 'Warning: Duplicated library name "#{libraryName}".');
547 547
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 812
813 class CompileTimeConstantError extends Diagnostic { 813 class CompileTimeConstantError extends Diagnostic {
814 CompileTimeConstantError(MessageKind kind, [Map arguments = const {}]) 814 CompileTimeConstantError(MessageKind kind, [Map arguments = const {}])
815 : super(kind, arguments); 815 : super(kind, arguments);
816 } 816 }
817 817
818 class CompilationError extends Diagnostic { 818 class CompilationError extends Diagnostic {
819 CompilationError(MessageKind kind, [Map arguments = const {}]) 819 CompilationError(MessageKind kind, [Map arguments = const {}])
820 : super(kind, arguments); 820 : super(kind, arguments);
821 } 821 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/library_loader.dart ('k') | tests/compiler/dart2js/deprecated_features_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698