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

Unified Diff: dart/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java

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 side-by-side diff with in-line comments
Download patch
Index: dart/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
diff --git a/dart/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java b/dart/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
index 77ba4f2e213389e851a2f4d1f80308fbce97e50e..0744833354f341bbb7c6274c4c632b780e872c56 100644
--- a/dart/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
+++ b/dart/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
@@ -17,16 +17,12 @@ public enum DartCompilerErrorCode implements ErrorCode {
ENTRY_POINT_METHOD_MAY_NOT_BE_SETTER(ErrorSeverity.WARNING,
"Entry point \"%s\" may not be a setter"),
ILLEGAL_DIRECTIVES_IN_SOURCED_UNIT("This part was included by %s via a "
- + "part directive, so cannot itself contain directives other than a 'part of' directive"),
+ + "part directive, so cannot itself contain directives other than a part of directive"),
IO("Input/Output error: %s"),
MIRRORS_NOT_FULLY_IMPLEMENTED(ErrorSeverity.WARNING, "dart:mirrors is not fully implemented yet"),
MISSING_LIBRARY_DIRECTIVE("a library which is imported is missing a library directive: %s"),
MISSING_SOURCE("Cannot find referenced source: %s"),
- MISSING_PART_OF_DIRECTIVE("Missing 'part of' directive"),
- UNIT_WAS_ALREADY_INCLUDED("Unit '%s' was already included"),
- WRONG_PART_OF_NAME(
- ErrorSeverity.WARNING,
- "This part was included by '%s' via a 'part' directive, but uses name '%s' in 'part of' directive");
+ UNIT_WAS_ALREADY_INCLUDED("Unit '%s' was already included");
private final ErrorSeverity severity;
private final String message;

Powered by Google App Engine
This is Rietveld 408576698