| Index: pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| diff --git a/pkg/compiler/lib/src/universe/resolution_world_builder.dart b/pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| index 7d9b5898d172de85500c1e1e7458b50197f940a2..86e9b093894cb508b6a0b6b5e7ae6efceed3795e 100644
|
| --- a/pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| +++ b/pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| @@ -394,7 +394,7 @@ class ElementResolutionWorldBuilder implements ResolutionEnqueuerWorldBuilder {
|
| ///
|
| /// See [directlyInstantiatedClasses].
|
| // TODO(johnniwinther): Improve semantic precision.
|
| - Iterable<ResolutionDartType> get instantiatedTypes {
|
| + Iterable<InterfaceType> get instantiatedTypes {
|
| Set<ResolutionInterfaceType> types = new Set<ResolutionInterfaceType>();
|
| getInstantiationMap().forEach((_, InstantiationInfo info) {
|
| if (info.instantiationMap != null) {
|
| @@ -600,14 +600,14 @@ class ElementResolutionWorldBuilder implements ResolutionEnqueuerWorldBuilder {
|
| return constraints.addReceiverConstraint(mask);
|
| }
|
|
|
| - ResolutionDartType registerIsCheck(ResolutionDartType type) {
|
| + void registerIsCheck(ResolutionDartType type) {
|
| type.computeUnaliased(_resolution);
|
| type = type.unaliased;
|
| // Even in checked mode, type annotations for return type and argument
|
| // types do not imply type checks, so there should never be a check
|
| // against the type variable of a typedef.
|
| + assert(!type.isTypeVariable || !type.element.enclosingElement.isTypedef);
|
| isChecks.add(type);
|
| - return type;
|
| }
|
|
|
| void registerStaticUse(StaticUse staticUse, MemberUsedCallback memberUsed) {
|
|
|