| Index: dart/lib/compiler/implementation/scanner/listener.dart
|
| diff --git a/dart/lib/compiler/implementation/scanner/listener.dart b/dart/lib/compiler/implementation/scanner/listener.dart
|
| index 424d17f85b17f9c4ae2cb5fa442f061d4c526f74..a989ef4ab4bae9a1384ab4160bdca955d8ecb4ba 100644
|
| --- a/dart/lib/compiler/implementation/scanner/listener.dart
|
| +++ b/dart/lib/compiler/implementation/scanner/listener.dart
|
| @@ -1663,11 +1663,17 @@ class NodeListener extends ElementListener {
|
| Token endToken) {
|
| Statement body = popNode();
|
| NodeList formals = popNode();
|
| - NodeList typeParameters = popNode(); // TODO(karlklose): don't throw away.
|
| - Node name = popNode();
|
| + // TODO(karlklose): don't throw type parameters away.
|
| + NodeList typeParameters;
|
| + Node name;
|
| if (periodBeforeName !== null) {
|
| + name = popNode();
|
| + typeParameters = popNode();
|
| // A library prefix was handled in [handleQualified].
|
| name = new Send(popNode(), name);
|
| + } else {
|
| + typeParameters = popNode();
|
| + name = popNode();
|
| }
|
| // TODO(ahe): Move this parsing to the parser.
|
| int modifierCount = 0;
|
|
|