Index: pkg/compiler/lib/src/parser/member_listener.dart |
diff --git a/pkg/compiler/lib/src/parser/member_listener.dart b/pkg/compiler/lib/src/parser/member_listener.dart |
index 0399d7112ab3fa990c2777e2289247ffe4f7e8ab..36ebc344f525d064715becbbbce06446ccf8202c 100644 |
--- a/pkg/compiler/lib/src/parser/member_listener.dart |
+++ b/pkg/compiler/lib/src/parser/member_listener.dart |
@@ -98,7 +98,7 @@ class MemberListener extends NodeListener { |
} else { |
memberElement = new PartialFunctionElement( |
name, beginToken, getOrSet, endToken, |
- method.modifiers, enclosingClass, hasBody: method.hasBody()); |
+ method.modifiers, enclosingClass, hasBody: method.hasBody); |
} |
addMember(memberElement); |
} |