Index: pkg/front_end/lib/src/incremental/unlinked_unit.dart |
diff --git a/pkg/front_end/lib/src/incremental/unlinked_unit.dart b/pkg/front_end/lib/src/incremental/unlinked_unit.dart |
index e074daff1e23b83f3a8da9e22d3f26af5fe1f5c6..503fb5968a9cc51aa4805d546d32695370b5e33b 100644 |
--- a/pkg/front_end/lib/src/incremental/unlinked_unit.dart |
+++ b/pkg/front_end/lib/src/incremental/unlinked_unit.dart |
@@ -110,13 +110,14 @@ class _BodySkippingParser extends Parser { |
_BodySkippingParser() : super(new Listener()); |
@override |
- Token parseFunctionBody(Token token, bool isExpression, bool allowAbstract) { |
+ Token parseFunctionBody( |
+ Token token, bool ofFunctionExpression, bool allowAbstract) { |
if (identical('{', token.lexeme)) { |
Token close = skipBlock(token); |
bodyRanges.add(new _BodyRange(token.charOffset, close.charOffset)); |
- return isExpression ? close.next : close; |
+ return ofFunctionExpression ? close.next : close; |
} |
- return super.parseFunctionBody(token, isExpression, allowAbstract); |
+ return super.parseFunctionBody(token, ofFunctionExpression, allowAbstract); |
} |
Token parseMixinApplicationRest(Token token) { |