Index: pkg/compiler/lib/src/resolution/resolution.dart |
diff --git a/pkg/compiler/lib/src/resolution/resolution.dart b/pkg/compiler/lib/src/resolution/resolution.dart |
index 73dd7fedc482cb43a4c6beb238665a7e98f88ee1..54e9603c944ca40a6d701ff1ed877348dc51ec10 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution.dart |
@@ -19,7 +19,7 @@ import '../constants/expressions.dart' |
ConstructedConstantExpression, |
ErroneousConstantExpression; |
import '../constants/values.dart' show ConstantValue; |
-import '../core_types.dart' show CoreClasses, CoreTypes; |
+import '../core_types.dart' show CoreClasses, CoreTypes, CommonElements; |
import '../dart_types.dart'; |
import '../elements/elements.dart'; |
import '../elements/modelx.dart' |
@@ -76,6 +76,7 @@ class ResolverTask extends CompilerTask { |
Target get target => resolution.target; |
CoreTypes get coreTypes => resolution.coreTypes; |
CoreClasses get coreClasses => resolution.coreClasses; |
+ CommonElements get commonElements => resolution.commonElements; |
ParsingContext get parsingContext => resolution.parsingContext; |
CompilerOptions get options => resolution.options; |
ResolutionEnqueuer get enqueuer => resolution.enqueuer; |
@@ -634,7 +635,6 @@ class ResolverTask extends CompilerTask { |
new ClassResolverVisitor(resolution, element, registry); |
visitor.visit(tree); |
element.resolutionState = STATE_DONE; |
- resolution.onClassResolved(element); |
pendingClassesToBePostProcessed.add(element); |
})); |
if (element.isPatched) { |