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 8710f840ec55c9777f40d99953f7f0c12b6635c2..028b7a8f2940d6b8b15d721ac6d2e335d8715890 100644 |
--- a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
+++ b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
@@ -649,8 +649,8 @@ class DartTypeConverter extends ir.DartTypeVisitor<DartType> { |
visitTypes(node.positionalParameters |
.skip(node.requiredParameterCount) |
.toList()), |
- node.namedParameters.keys.toList(), |
- visitTypes(node.namedParameters.values.toList())); |
+ node.namedParameters.map((n) => n.name).toList(), |
+ node.namedParameters.map((n) => visitType(n.type)).toList()); |
} |
@override |