| Index: sdk/lib/_internal/compiler/implementation/closure.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/closure.dart b/sdk/lib/_internal/compiler/implementation/closure.dart
|
| index a91f9ab3feb0dfcd305c98eb1b13b1388c10c0a1..ce5990661000c9146467a9e32aab66a2630942b7 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/closure.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/closure.dart
|
| @@ -465,7 +465,8 @@ class ClosureTranslator extends Visitor {
|
| link = link.tail) {
|
| Node definition = link.head;
|
| Element element = elements[definition];
|
| - assert(element != null);
|
| + assert(invariant(definition, element != null,
|
| + message: "unresolved local definition"));
|
| declareLocal(element);
|
| // We still need to visit the right-hand sides of the init-assignments.
|
| // For SendSets don't visit the left again. Otherwise it would be marked
|
|
|