| Index: tests/compiler/dart2js_native/bound_closure_test.dart
|
| diff --git a/tests/compiler/dart2js_native/bound_closure_test.dart b/tests/compiler/dart2js_native/bound_closure_test.dart
|
| index afbecce4b1aee9b7b50880597628c6749d74051d..a637121be707d453fd273963850521fc052f1b9f 100644
|
| --- a/tests/compiler/dart2js_native/bound_closure_test.dart
|
| +++ b/tests/compiler/dart2js_native/bound_closure_test.dart
|
| @@ -8,25 +8,25 @@ import "package:expect/expect.dart";
|
| // Test calling convention of property extraction closures.
|
|
|
| class AA {
|
| - bar(a, [b = 'A']) => 'AA.bar($a, $b)'; // bar is plain dart convention.
|
| - foo(a, [b = 'A']) => 'AA.foo($a, $b)'; // foo has interceptor convention.
|
| + bar(a, [b = 'A']) => 'AA.bar($a, $b)'; // bar is plain dart convention.
|
| + foo(a, [b = 'A']) => 'AA.foo($a, $b)'; // foo has interceptor convention.
|
| }
|
|
|
| @Native("BB")
|
| class BB {
|
| - foo(a, [b = 'B']) native;
|
| + foo(a, [b = 'B']) native ;
|
| }
|
|
|
| @Native("CC")
|
| class CC extends BB {
|
| - foo(a, [b = 'C']) native;
|
| + foo(a, [b = 'C']) native ;
|
|
|
| get superfoo => super.foo;
|
| }
|
|
|
| -makeBB() native;
|
| -makeCC() native;
|
| -inscrutable(a) native;
|
| +makeBB() native ;
|
| +makeCC() native ;
|
| +inscrutable(a) native ;
|
|
|
| void setup() native r"""
|
| function BB() {}
|
| @@ -44,7 +44,6 @@ makeCC = function(){return new CC;};
|
| inscrutable = function(a){return a;};
|
| """;
|
|
|
| -
|
| main() {
|
| setup();
|
| var a = inscrutable(new AA());
|
|
|