| Index: pkg/kernel/lib/transformations/insert_type_checks.dart
|
| diff --git a/pkg/kernel/lib/transformations/insert_type_checks.dart b/pkg/kernel/lib/transformations/insert_type_checks.dart
|
| index a884442472a88daf750387fccec8dffbe269b771..e42ce25a3495537cdae81c99ab9f10fc754ca6aa 100644
|
| --- a/pkg/kernel/lib/transformations/insert_type_checks.dart
|
| +++ b/pkg/kernel/lib/transformations/insert_type_checks.dart
|
| @@ -20,10 +20,9 @@ class InsertTypeChecks {
|
| final CoreTypes coreTypes;
|
| ClassHierarchy hierarchy;
|
|
|
| - InsertTypeChecks(this.coreTypes, {this.hierarchy});
|
| + InsertTypeChecks(this.coreTypes, this.hierarchy);
|
|
|
| void transformProgram(Program program) {
|
| - hierarchy ??= new ClassHierarchy(program);
|
| new CheckInsertingTypeChecker(coreTypes, hierarchy).checkProgram(program);
|
| }
|
| }
|
|
|