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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/CompileTimeConstantAnalyzer.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/java/com/google/dart/compiler/resolver/CompileTimeConstantAnalyzer.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/CompileTimeConstantAnalyzer.java b/compiler/java/com/google/dart/compiler/resolver/CompileTimeConstantAnalyzer.java
index 72c7113dc312dd5c1590a1f2ad1459d9afdb3b34..7586d328b1b054e65fc1cc21425278875fdad3a7 100644
--- a/compiler/java/com/google/dart/compiler/resolver/CompileTimeConstantAnalyzer.java
+++ b/compiler/java/com/google/dart/compiler/resolver/CompileTimeConstantAnalyzer.java
@@ -525,7 +525,7 @@ public class CompileTimeConstantAnalyzer {
@Override
public Void visitMethodDefinition(DartMethodDefinition node) {
DartFunction functionNode = node.getFunction();
- List<DartParameter> parameters = functionNode.getParams();
+ List<DartParameter> parameters = functionNode.getParameters();
for (DartParameter parameter : parameters) {
// Then resolve the default values.
checkConstantExpression(parameter.getDefaultExpr());

Powered by Google App Engine
This is Rietveld 408576698