| Index: dart/lib/compiler/implementation/world.dart
 | 
| diff --git a/dart/lib/compiler/implementation/world.dart b/dart/lib/compiler/implementation/world.dart
 | 
| index 6a514ba8a144d20f3cc3da7c13d09ad4ddd66379..d6ff5c2301f4d6831d52b905aef71b88642beeea 100644
 | 
| --- a/dart/lib/compiler/implementation/world.dart
 | 
| +++ b/dart/lib/compiler/implementation/world.dart
 | 
| @@ -10,7 +10,7 @@ class World {
 | 
|  
 | 
|    void populate(Compiler compiler) {
 | 
|      void addSubtypes(ClassElement cls) {
 | 
| -      if (!cls.isResolved) {
 | 
| +      if (cls.resolutionState != ClassElement.STATE_DONE) {
 | 
|          compiler.internalErrorOnElement(
 | 
|              cls, 'Class "${cls.name.slowToString()}" is not resolved.');
 | 
|        }
 | 
| 
 |