| Index: sdk/lib/_internal/compiler/implementation/universe/universe.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/universe/universe.dart (revision 19670)
|
| +++ sdk/lib/_internal/compiler/implementation/universe/universe.dart (working copy)
|
| @@ -484,8 +484,8 @@
|
|
|
| bool appliesUnnamed(Element element, Compiler compiler) {
|
| assert(sameNameHack(element, compiler));
|
| - // [TypedSelector] are only used when compiling.
|
| - assert(compiler.phase == Compiler.PHASE_COMPILING);
|
| + // [TypedSelector] are only used after resolution.
|
| + assert(compiler.phase > Compiler.PHASE_RESOLVING);
|
| if (!element.isMember()) return false;
|
|
|
| // A closure can be called through any typed selector:
|
|
|