Index: pkg/compiler/lib/src/inferrer/type_system.dart |
diff --git a/pkg/compiler/lib/src/inferrer/type_system.dart b/pkg/compiler/lib/src/inferrer/type_system.dart |
index a7a98423f4323ea313f5677ae4fbeda0cd5d5c12..5779c5805d9b871cdb0cbbc262836a7331c7f00e 100644 |
--- a/pkg/compiler/lib/src/inferrer/type_system.dart |
+++ b/pkg/compiler/lib/src/inferrer/type_system.dart |
@@ -453,7 +453,7 @@ class TypeSystem { |
} |
TypeInformation allocateList( |
- TypeInformation type, ast.Node node, Element enclosing, |
+ TypeInformation type, ast.Node node, MemberElement enclosing, |
[TypeInformation elementType, int length]) { |
ClassElement typedDataClass = closedWorld.commonElements.typedDataClass; |
bool isTypedArray = typedDataClass != null && |
@@ -489,7 +489,7 @@ class TypeSystem { |
} |
TypeInformation allocateMap( |
- ConcreteTypeInformation type, ast.Node node, Element element, |
+ ConcreteTypeInformation type, ast.Node node, MemberElement element, |
[List<TypeInformation> keyTypes, List<TypeInformation> valueTypes]) { |
assert(keyTypes.length == valueTypes.length); |
bool isFixed = (type.type == commonMasks.constMapType); |