| Index: pkg/compiler/lib/src/world.dart
|
| diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
|
| index 3e382e179ce01220de9f6b5b5485ea0db65624b8..a7dbad01fdc8df872d8955498b9273663d859fae 100644
|
| --- a/pkg/compiler/lib/src/world.dart
|
| +++ b/pkg/compiler/lib/src/world.dart
|
| @@ -653,7 +653,8 @@ class World implements ClassWorld {
|
| /// properties of the [ClassHierarchyNode] for [cls].
|
|
|
| void addSubtypes(ClassElement cls) {
|
| - if (compiler.hasIncrementalSupport && !alreadyPopulated.add(cls)) {
|
| + if (compiler.options.hasIncrementalSupport &&
|
| + !alreadyPopulated.add(cls)) {
|
| return;
|
| }
|
| assert(cls.isDeclaration);
|
| @@ -841,5 +842,5 @@ class World implements ClassWorld {
|
| return functionsThatMightBePassedToApply.contains(element);
|
| }
|
|
|
| - bool get hasClosedWorldAssumption => !compiler.hasIncrementalSupport;
|
| + bool get hasClosedWorldAssumption => !compiler.options.hasIncrementalSupport;
|
| }
|
|
|