Chromium Code Reviews| 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 4797109173e276b6391e4fd8065403862bbbd620..054fcdd563bdbccf09c41932ff0d465926ec3bd9 100644 |
| --- a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java |
| +++ b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| @@ -18,7 +18,8 @@ public enum DartCompilerErrorCode implements ErrorCode { |
| + "#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"); |
| + MISSING_SOURCE("Cannot find referenced source: %s"), |
| + UNIT_WAS_ALREADY_INCLUDED("Unit '%s' was already included"); |
|
Brian Wilkerson
2012/06/12 18:26:29
nit: perhaps instead of "included" we should say "
scheglov
2012/06/12 18:38:20
"sourced" sounds as slang for me.
I've used to it
|
| private final ErrorSeverity severity; |
| private final String message; |