| Index: pkg/compiler/lib/src/common/codegen.dart
|
| diff --git a/pkg/compiler/lib/src/common/codegen.dart b/pkg/compiler/lib/src/common/codegen.dart
|
| index e220aabde260f63c44210af35cbfe1f25eaf553a..e5554c9642a240c97dbab70ed9df1897a77c1395 100644
|
| --- a/pkg/compiler/lib/src/common/codegen.dart
|
| +++ b/pkg/compiler/lib/src/common/codegen.dart
|
| @@ -191,7 +191,7 @@ class CodegenWorkItem extends WorkItem {
|
| // generation could spuriously be adding dependencies on things we know we
|
| // don't need.
|
| assert(invariant(element,
|
| - compiler.enqueuer.resolution.hasBeenResolved(element),
|
| + compiler.enqueuer.resolution.hasBeenProcessed(element),
|
| message: "$element has not been resolved."));
|
| assert(invariant(element, element.resolvedAst.elements != null,
|
| message: 'Resolution tree is null for $element in codegen work item'));
|
|
|