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

Unified Diff: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java

Issue 9600049: Use NodeList where possible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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/type/TypeAnalyzerCompilerTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
index 3ae944a73002ad0dec5baf46668e0fd4a370de19..d612e07bd3b1937897520629b1ad9d0bda3d48e1 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
@@ -244,7 +244,7 @@ public class TypeAnalyzerCompilerTest extends CompilerTestCase {
DartUnit unit = libraryResult.getLibraryUnitResult().getUnits().iterator().next();
DartClass classF = (DartClass) unit.getTopLevelNodes().get(1);
DartMethodDefinition methodF = (DartMethodDefinition) classF.getMembers().get(1);
- DartParameter parameter = methodF.getFunction().getParams().get(0);
+ DartParameter parameter = methodF.getFunction().getParameters().get(0);
assertEquals("int", parameter.getSymbol().getType().toString());
}
// No errors or type warnings.

Powered by Google App Engine
This is Rietveld 408576698