| Index: lib/compiler/implementation/scanner/listener.dart
|
| diff --git a/lib/compiler/implementation/scanner/listener.dart b/lib/compiler/implementation/scanner/listener.dart
|
| index d1fe3adcaba4d3ee31130a7a7d013ea803019087..7d18d4d8ed3ea36f354eb1bb7fb119a0ae8c23ac 100644
|
| --- a/lib/compiler/implementation/scanner/listener.dart
|
| +++ b/lib/compiler/implementation/scanner/listener.dart
|
| @@ -590,16 +590,15 @@ class ElementListener extends Listener {
|
|
|
| void endInterface(int supertypeCount, Token interfaceKeyword,
|
| Token extendsKeyword, Token endToken) {
|
| + // TODO(ahe): Record the defaultClause.
|
| Node defaultClause = popNode();
|
| NodeList supertypes =
|
| makeNodeList(supertypeCount, extendsKeyword, null, ",");
|
| NodeList typeParameters = popNode();
|
| Identifier name = popNode();
|
| int id = idGenerator();
|
| - ClassElement element = new PartialClassElement(
|
| - name.source, interfaceKeyword, endToken, compilationUnitElement, id);
|
| - pushElement(element);
|
| - if (defaultClause !== null) element.defaultClause = defaultClause;
|
| + pushElement(new PartialClassElement(
|
| + name.source, interfaceKeyword, endToken, compilationUnitElement, id));
|
| }
|
|
|
| void endFunctionTypeAlias(Token typedefKeyword, Token endToken) {
|
|
|