Index: pkg/kernel/testcases/closures/catch.dart.expect |
diff --git a/pkg/kernel/testcases/closures/catch.dart.expect b/pkg/kernel/testcases/closures/catch.dart.expect |
index c67759d4af19ad835332500184bc11726a3f45d0..04104173c9b33c83a5ca06713c417c547b21530e 100644 |
--- a/pkg/kernel/testcases/closures/catch.dart.expect |
+++ b/pkg/kernel/testcases/closures/catch.dart.expect |
@@ -8,16 +8,16 @@ static method main() → dynamic { |
throw "Fisk"; |
} |
on core::String catch(dynamic #t1, dynamic #t2) { |
- final Vector #context = MakeVector(3); |
- #context[1] = #t1; |
- #context[2] = #t2; |
+ final Vector #context = MakeVector(4); |
+ #context[2] = #t1; |
+ #context[3] = #t2; |
c = MakeClosure<() → dynamic>(self::closure#main#function, #context); |
} |
c.call(); |
core::print("TEST PASSED"); |
} |
static method closure#main#function(Vector #contextParameter) → dynamic { |
- core::print(#contextParameter[1]); |
- if(!(#contextParameter[2]).==(null)) |
- core::print(#contextParameter[2]); |
+ core::print(#contextParameter[2]); |
+ if(!(#contextParameter[3]).==(null)) |
+ core::print(#contextParameter[3]); |
} |