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

Unified Diff: compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java

Issue 11417135: Issue 6822. Report error only if import prefix is hidden by top-level element. (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/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
diff --git a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
index fcd7d63fa6c23edc3d5cc752901afd736292bf1a..836c8728ed01448acac9d3b2ce82e38f2b0ef7f0 100644
--- a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
+++ b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
@@ -969,7 +969,7 @@ public class IncrementalCompilation2Test extends CompilerTestCase {
/**
* <p>
- * http://code.google.com/p/dart/issues/detail?id=3340
+ * http://code.google.com/p/dart/issues/detail?id=6822
*/
public void test_useImportPrefix_asVariableName() throws Exception {
appSource.setContent(
@@ -990,7 +990,7 @@ public class IncrementalCompilation2Test extends CompilerTestCase {
""));
// do compile, no errors expected
compile();
- assertErrors(errors, errEx(ResolverErrorCode.CANNOT_HIDE_IMPORT_PREFIX, 5, 7, 3));
+ assertErrors(errors);
}
/**
« no previous file with comments | « compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java ('k') | tests/co19/co19-compiler.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698