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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java

Issue 11548014: Issue 6836. Reference to prefixed undeclared identifier in static context is also warning (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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') | tests/language/language.status » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
index ebe4554b7fe007aa8ffe673653dcd9e813045344..c2cefc944f1762f336078100287fefffe663214c 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -24,7 +24,7 @@ public enum ResolverErrorCode implements ErrorCode {
CANNOT_ASSIGN_TO_METHOD(ErrorSeverity.WARNING, "cannot assign value to method '%s'."),
CANNOT_BE_RESOLVED("cannot resolve %s"),
// TODO(zundel): error message needs JUnit test - how to test #imports in junit?
- CANNOT_BE_RESOLVED_LIBRARY("cannot resolve %s in library %s"),
+ CANNOT_BE_RESOLVED_LIBRARY(ErrorSeverity.WARNING, "cannot resolve %s in library %s"),
CANNOT_CALL_FUNCTION_TYPE_ALIAS("Function type aliases cannot be called"),
// TODO(zundel): error message needs JUnit test - how to test #imports in junit?
CANNOT_CALL_LIBRARY_PREFIX("Library prefixes cannot be called"),
« no previous file with comments | « no previous file | tests/co19/co19-compiler.status » ('j') | tests/language/language.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698