Index: pkg/kernel/lib/transformations/closure/mock.dart |
diff --git a/pkg/kernel/lib/transformations/closure/mock.dart b/pkg/kernel/lib/transformations/closure/mock.dart |
index 6f13fca68a7ba6e3cb4d2b28f3a6b6bd32651445..95a4cbdcd7f53d74f2f656f6b33cf1d1c83e65d6 100644 |
--- a/pkg/kernel/lib/transformations/closure/mock.dart |
+++ b/pkg/kernel/lib/transformations/closure/mock.dart |
@@ -87,8 +87,8 @@ Class mockUpContext(CoreTypes coreTypes, Program program) { |
type: coreTypes.intClass.rawType, isFinal: true); |
// TODO(karlklose): use the default factory when it is exposed again. |
- Procedure listConstructor = coreTypes.listClass.procedures.firstWhere( |
- (Procedure p) => p.name.name == 'filled'); |
+ Procedure listConstructor = coreTypes.listClass.procedures |
+ .firstWhere((Procedure p) => p.name.name == 'filled'); |
Constructor constructor = new Constructor( |
new FunctionNode(new EmptyStatement(), |