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

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

Issue 11416307: Triage and fixes for co19 library tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 251b871eb1568061efdb6069cc40bc45e8768041..5476e2e52c57cf6111683f99cec8d208135bd637 100644
--- a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
@@ -10,6 +10,7 @@ package com.google.dart.compiler;
public enum DartCompilerErrorCode implements ErrorCode {
CONSOLE_WEB_MIX(ErrorSeverity.INFO,
"Libraries 'dart:io' (console apps only) and 'dart:html' (web apps only) cannot be used together"),
+ DUPLICATE_IMPORTED_LIBRARY_NAME("a library with name '%s' was already imported: %s"),
ENTRY_POINT_METHOD_CANNOT_HAVE_PARAMETERS(ErrorSeverity.WARNING,
"Main entry point method cannot have parameters"),
ENTRY_POINT_METHOD_MAY_NOT_BE_GETTER(ErrorSeverity.WARNING,
@@ -20,7 +21,8 @@ public enum DartCompilerErrorCode implements ErrorCode {
+ "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_LIBRARY_DIRECTIVE_IMPORT("a library which is imported is missing a library directive: %s"),
+ MISSING_LIBRARY_DIRECTIVE_EXPORT("a library which is exported is missing a library directive: %s"),
MISSING_SOURCE("Cannot find referenced source: %s"),
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"),
« no previous file with comments | « compiler/java/com/google/dart/compiler/DartCompiler.java ('k') | compiler/java/com/google/dart/compiler/ast/LibraryNode.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698