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

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

Issue 10010004: Implement @runtime-error in co19 tests for static analysis (no runtime) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Formatting fix. Created 8 years, 8 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
« no previous file with comments | « no previous file | tests/co19/co19-compiler.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a26b96dff36153f51a07e39472736cdbdf9fc7f6..2244e663c808b982ff4e0e4026a12a7e2401aac7 100644
--- a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
@@ -8,15 +8,17 @@ package com.google.dart.compiler;
* Valid error codes for the errors produced by the Dart compiler.
*/
public enum DartCompilerErrorCode implements ErrorCode {
- ENTRY_POINT_METHOD_CANNOT_HAVE_PARAMETERS("Main entry point method cannot have parameters"),
- ENTRY_POINT_METHOD_MAY_NOT_BE_GETTER("Entry point \"%s\" may not be a getter"),
- ENTRY_POINT_METHOD_MAY_NOT_BE_SETTER("Entry point \"%s\" may not be a setter"),
+ ENTRY_POINT_METHOD_CANNOT_HAVE_PARAMETERS(ErrorSeverity.WARNING,
+ "Main entry point method cannot have parameters"),
+ ENTRY_POINT_METHOD_MAY_NOT_BE_GETTER(ErrorSeverity.WARNING,
+ "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"),
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"),
- NO_ENTRY_POINT("No entrypoint specified for app");
zundel 2012/04/05 12:07:27 no references in the code. No longer appropriate
+ MISSING_SOURCE("Cannot find referenced source: %s");
private final ErrorSeverity severity;
private final String message;
« no previous file with comments | « no previous file | tests/co19/co19-compiler.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698