| Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| index 9f5857677002adff23d2aa1312d84a79e8133135..d2da1c59a7723a6c96c62ae5bb8d5f0894597915 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| @@ -1468,14 +1468,16 @@ class InitializerResolver {
|
| }
|
| FunctionElement result;
|
| bool resolvedSuper = false;
|
| - for (Link<Node> link = initializers;
|
| - !link.isEmpty;
|
| - link = link.tail) {
|
| + for (Link<Node> link = initializers; !link.isEmpty; link = link.tail) {
|
| if (link.head.asSendSet() != null) {
|
| final SendSet init = link.head.asSendSet();
|
| resolveFieldInitializer(constructor, init);
|
| } else if (link.head.asSend() != null) {
|
| final Send call = link.head.asSend();
|
| + if (call.argumentsNode == null) {
|
| + error(link.head, MessageKind.INVALID_INITIALIZER);
|
| + continue;
|
| + }
|
| if (Initializers.isSuperConstructorCall(call)) {
|
| if (resolvedSuper) {
|
| error(call, MessageKind.DUPLICATE_SUPER_INITIALIZER);
|
|
|