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

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

Issue 10448054: Issue 3155. Better error report for directives in sourced unit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 2244e663c808b982ff4e0e4026a12a7e2401aac7..4797109173e276b6391e4fd8065403862bbbd620 100644
--- a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
@@ -14,8 +14,8 @@ public enum DartCompilerErrorCode implements ErrorCode {
"Entry point \"%s\" may not be a getter"),
ENTRY_POINT_METHOD_MAY_NOT_BE_SETTER(ErrorSeverity.WARNING,
"Entry point \"%s\" may not be a setter"),
- ILLEGAL_DIRECTIVES_IN_SOURCED_UNIT("A source which was included by another source via a "
- + "#source directive cannot itself contain directives: %s"),
+ ILLEGAL_DIRECTIVES_IN_SOURCED_UNIT("This source was included by %s via a "
+ + "#source directive, so cannot itself contain directives"),
IO("Input/Output error: %s"),
MISSING_LIBRARY_DIRECTIVE("a library which is imported is missing a #library directive: %s"),
MISSING_SOURCE("Cannot find referenced source: %s");

Powered by Google App Engine
This is Rietveld 408576698