Index: pkg/kernel/testcases/closures/closure_in_constructor.dart.expect |
diff --git a/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect b/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect |
index 1a630caa12c1d43ac2938b35d535e40c3a9fa119..cba5c8302ab79490b4e478cd9be21e76c948e0e5 100644 |
--- a/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect |
+++ b/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect |
@@ -14,7 +14,7 @@ class C2 extends core::Object { |
: super core::Object::•() { |
final Vector #context = MakeVector(2); |
#context[1] = y; |
- this.x = MakeClosure<() → dynamic>(self::closure#C2#function#function, #context); |
+ this.x = MakeClosure<() → void>(self::closure#C2#function#function, #context); |
} |
} |
static method main() → dynamic { |
@@ -24,6 +24,6 @@ static method main() → dynamic { |
static method closure#C1##function(Vector #contextParameter) → dynamic { |
return core::print("Hello ${#contextParameter[1]}"); |
} |
-static method closure#C2#function#function(Vector #contextParameter) → dynamic { |
+static method closure#C2#function#function(Vector #contextParameter) → void { |
return core::print("Hello ${#contextParameter[1]}"); |
} |