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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/ResolverTestCase.java

Issue 24823002: The scope of a function's signature is the function's enclosing scope, not the formal parameters sc… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/ResolverTestCase.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/ResolverTestCase.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/ResolverTestCase.java
index e500ce0ca65d77bbb98dc3716b00b3b5e757e503..8f49f3b8aecdad7564802d72f02f093553f820c4 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/ResolverTestCase.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/ResolverTestCase.java
@@ -111,7 +111,7 @@ public class ResolverTestCase extends EngineTestCase {
* @throws AssertionFailedError if any errors have been reported
*/
protected void assertNoErrors(Source source) throws AnalysisException {
- assertLength(0, analysisContext.computeErrors(source));
+ assertErrors(source);
}
/**

Powered by Google App Engine
This is Rietveld 408576698