Index: pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
diff --git a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
index 099c4d6dca4117ae4aefa9358cb1eb145e3139ff..ea8dedbf4b127ac463cc01deca9fc15eb29d9ffd 100644 |
--- a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
+++ b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
@@ -638,14 +638,14 @@ class KernelAstAdapter implements KernelWorldBuilder { |
return types.map(getDartType).toList(); |
} |
- ResolutionDartType getDartTypeOfListLiteral(ir.ListLiteral list) { |
+ ResolutionInterfaceType getDartTypeOfListLiteral(ir.ListLiteral list) { |
ast.Node node = getNodeOrNull(list); |
if (node != null) return elements.getType(node); |
assertNodeIsSynthetic(list); |
return _compiler.commonElements.listType(getDartType(list.typeArgument)); |
} |
- ResolutionDartType getDartTypeOfMapLiteral(ir.MapLiteral literal) { |
+ ResolutionInterfaceType getDartTypeOfMapLiteral(ir.MapLiteral literal) { |
ast.Node node = getNodeOrNull(literal); |
if (node != null) return elements.getType(node); |
assertNodeIsSynthetic(literal); |