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

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

Issue 11364020: Issue 5722. Better 'missing part of' error message. Quick Fix for it. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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: compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
index 77ba4f2e213389e851a2f4d1f80308fbce97e50e..251b871eb1568061efdb6069cc40bc45e8768041 100644
--- a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
@@ -22,7 +22,7 @@ public enum DartCompilerErrorCode implements ErrorCode {
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"),
+ MISSING_PART_OF_DIRECTIVE("Unit is part of library '%s', but has no 'part of' directive"),
UNIT_WAS_ALREADY_INCLUDED("Unit '%s' was already included"),
WRONG_PART_OF_NAME(
ErrorSeverity.WARNING,

Powered by Google App Engine
This is Rietveld 408576698