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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java

Issue 10855140: Issue 3562. Analyzer should not warn about shadowing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
Index: compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java
index 92f6e656c5a40169cc910af087dd5af43e83066a..2d3ea6f73ed798becd1b5cdf0a64edddfda0cbcf 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java
@@ -897,22 +897,6 @@ public class ResolverCompilerTest extends CompilerTestCase {
}
/**
- * <p>
- * http://code.google.com/p/dart/issues/detail?id=3793
- */
- public void test_functionLiteral_parameterShadowsParentLiteral() throws Exception {
- AnalyzeLibraryResult libraryResult = analyzeLibrary(
- "// filler filler filler filler filler filler filler filler filler filler",
- "main() {",
- " (foo(foo)=>foo)(1);",
- "}",
- "");
- assertErrors(
- libraryResult.getErrors(),
- errEx(ResolverErrorCode.DUPLICATE_PARAMETER_WARNING, 3, 8, 3));
- }
-
- /**
* Asserts that given nodes have same not <code>null</code> {@link Element}.
*/
private static void assertDeclarationNameElement(

Powered by Google App Engine
This is Rietveld 408576698