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

Unified Diff: compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java

Issue 9288021: Issue 1287. Allow to invoke function literal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More tests, check for function name. Created 8 years, 11 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/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 35901cdefa3d9049ceeed4b4cffa11d374e24da4..47e38a5dd21e377edbd75aa2f69090eec3191c77 100644
--- a/compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java
+++ b/compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java
@@ -42,7 +42,7 @@ public abstract class CompletionHooksParserBase extends AbstractParser {
* an upper bound on the 'space' the parser can consume before declaring
* it is not making progress.
*/
- private static final int THRESHOLD = 100;
+ private static final int THRESHOLD = 1000;
private int maxPositionRange = Integer.MIN_VALUE;
private int minPositionRange = Integer.MAX_VALUE;

Powered by Google App Engine
This is Rietveld 408576698