Index: compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java |
diff --git a/compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java b/compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java |
index fc1f02dc03780855d6a565284bd3ecc422ffe6a7..a0eefdaab75e7d4d219aca91cb515a9c7e41fe4d 100644 |
--- a/compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java |
+++ b/compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java |
@@ -55,7 +55,7 @@ public abstract class CompletionHooksParserBase extends AbstractParser { |
* productions at fault. Called from begin() |
*/ |
public boolean assertProgress() { |
- int currentPosition = position().getPos(); |
+ int currentPosition = position(); |
if (currentPosition > maxPositionRange) { |
minPositionRange = maxPositionRange; |
maxPositionRange = currentPosition; |