| Index: dart/lib/compiler/implementation/scanner/class_element_parser.dart
|
| diff --git a/dart/lib/compiler/implementation/scanner/class_element_parser.dart b/dart/lib/compiler/implementation/scanner/class_element_parser.dart
|
| index 39e6d250bb2415aa771da5c06ff84fa0bc942b3b..8e3c3605bee4f116714f850be83da99fc7997edf 100644
|
| --- a/dart/lib/compiler/implementation/scanner/class_element_parser.dart
|
| +++ b/dart/lib/compiler/implementation/scanner/class_element_parser.dart
|
| @@ -132,15 +132,14 @@ class MemberListener extends NodeListener {
|
| addMember(memberElement);
|
| }
|
|
|
| - void endFactoryMethod(Token factoryKeyword, Token periodBeforeName,
|
| - Token endToken) {
|
| - super.endFactoryMethod(factoryKeyword, periodBeforeName, endToken);
|
| + void endFactoryMethod(Token beginToken, Token endToken) {
|
| + super.endFactoryMethod(beginToken, endToken);
|
| FunctionExpression method = popNode();
|
| pushNode(null);
|
| SourceString name = getMethodNameHack(method.name);
|
| ElementKind kind = ElementKind.FUNCTION;
|
| Element memberElement =
|
| - new PartialFunctionElement(name, factoryKeyword, null, endToken,
|
| + new PartialFunctionElement(name, beginToken, null, endToken,
|
| kind, method.modifiers, enclosingElement);
|
| addMember(memberElement);
|
| }
|
|
|