| Index: lib/compiler/implementation/scanner/listener.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/scanner/listener.dart (revision 12694)
|
| +++ lib/compiler/implementation/scanner/listener.dart (working copy)
|
| @@ -1468,12 +1468,8 @@
|
| }
|
|
|
| void handleConstExpression(Token token, bool named) {
|
| - NodeList arguments = popNode();
|
| - if (named) {
|
| - Identifier name = popNode();
|
| - }
|
| - TypeAnnotation type = popNode();
|
| - pushNode(new NewExpression(token, new Send(null, type, arguments)));
|
| + // [token] carries the 'const' information.
|
| + handleNewExpression(token, named);
|
| }
|
|
|
| void handleOperatorName(Token operatorKeyword, Token token) {
|
|
|