Index: pkg/kernel/testcases/closures/field.dart.expect |
diff --git a/pkg/kernel/testcases/closures/field.dart.expect b/pkg/kernel/testcases/closures/field.dart.expect |
index bdddcdb6810ebdd971de9cbd890a96343f1faa22..9c5341006bd132d6ee98baad6e1f4357aef3cab6 100644 |
--- a/pkg/kernel/testcases/closures/field.dart.expect |
+++ b/pkg/kernel/testcases/closures/field.dart.expect |
@@ -3,14 +3,14 @@ import self as self; |
import "dart:core" as core; |
class C<T extends core::Object> extends core::Object { |
- field dynamic v = MakeClosure<(dynamic) → core::bool>(self::closure#C#v#function, null); |
- final field dynamic y = MakeClosure<() → core::String>(self::closure#C#y#function, null); |
- static final field dynamic z = MakeClosure<() → core::String>(self::closure#C#z#function, null); |
- constructor •() → void |
+ field dynamic v = MakeClosure<(dynamic) → dynamic>(self::closure#C#v#function, null); |
+ final field dynamic y = MakeClosure<() → dynamic>(self::closure#C#y#function, null); |
+ static final field dynamic z = MakeClosure<() → dynamic>(self::closure#C#z#function, null); |
+ default constructor •() → void |
: super core::Object::•() |
; |
} |
-static field dynamic x = MakeClosure<() → core::String>(self::closure#x#function, null); |
+static field dynamic x = MakeClosure<() → dynamic>(self::closure#x#function, null); |
static method main() → dynamic { |
if(!new self::C::•<core::String>().v("")) |
throw "C<String>.v false on String"; |
@@ -31,15 +31,15 @@ static method main() → dynamic { |
if(!"z".==(self::C::z.call())) |
throw "z"; |
} |
-static method closure#C#v#function(Vector #contextParameter, dynamic x) → core::bool { |
+static method closure#C#v#function(Vector #contextParameter, dynamic x) → dynamic { |
return x is dynamic; |
} |
-static method closure#C#y#function(Vector #contextParameter) → core::String { |
+static method closure#C#y#function(Vector #contextParameter) → dynamic { |
return "y"; |
} |
-static method closure#C#z#function(Vector #contextParameter) → core::String { |
+static method closure#C#z#function(Vector #contextParameter) → dynamic { |
return "z"; |
} |
-static method closure#x#function(Vector #contextParameter) → core::String { |
+static method closure#x#function(Vector #contextParameter) → dynamic { |
return "x"; |
} |