| Index: tests/compiler/dart2js/union_type_test.dart
|
| diff --git a/tests/compiler/dart2js/union_type_test.dart b/tests/compiler/dart2js/union_type_test.dart
|
| index 336ce10fea41fc6b03a9872f8f86590eeeeed524..4306f61c4706ffacb1f53cd570c8df4bdf3ceb0b 100644
|
| --- a/tests/compiler/dart2js/union_type_test.dart
|
| +++ b/tests/compiler/dart2js/union_type_test.dart
|
| @@ -22,7 +22,7 @@ main() {
|
| }
|
| """,
|
| useMockCompiler: false);
|
| - ClosedWorld world = env.compiler.openWorld.closeWorld();
|
| + ClosedWorld world = env.compiler.openWorld.populate();
|
| FlatTypeMask mask1 = new FlatTypeMask.exact(env.getElement('A'));
|
| FlatTypeMask mask2 = new FlatTypeMask.exact(env.getElement('B'));
|
| UnionTypeMask union1 = mask1.nonNullable().union(mask2, world);
|
|
|