| Index: pkg/compiler/lib/src/compile_time_constants.dart
|
| diff --git a/pkg/compiler/lib/src/compile_time_constants.dart b/pkg/compiler/lib/src/compile_time_constants.dart
|
| index a9776490f4b075942d463503bc298f84a9d4827a..4af20691612c70395cad03ff5f663fbb58f8a10e 100644
|
| --- a/pkg/compiler/lib/src/compile_time_constants.dart
|
| +++ b/pkg/compiler/lib/src/compile_time_constants.dart
|
| @@ -1259,10 +1259,9 @@ class ErroneousAstConstant extends AstConstant {
|
| new ErroneousConstantExpression(), new NullConstantValue());
|
| }
|
|
|
| -// TODO(johnniwinther): Avoid the need for this hack.
|
| +// TODO(johnniwinther): Clean this up.
|
| TreeElements _analyzeElementEagerly(Compiler compiler, AstElement element) {
|
| - WorldImpact worldImpact = compiler.analyzeElement(element.declaration);
|
| - compiler.enqueuer.resolution.applyImpact(element.declaration, worldImpact);
|
| + compiler.resolution.analyzeElement(element.declaration);
|
| return element.resolvedAst.elements;
|
| }
|
|
|
|
|