| Index: tests/compiler/dart2js_native/native_mixin_multiple3_test.dart
|
| diff --git a/tests/compiler/dart2js_native/native_mixin_multiple3_test.dart b/tests/compiler/dart2js_native/native_mixin_multiple3_test.dart
|
| index a991c87df9ff72f6e68bc9b23aaf60de624a043d..1963186922ad21e729c0eea0f73949e01a686de1 100644
|
| --- a/tests/compiler/dart2js_native/native_mixin_multiple3_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_mixin_multiple3_test.dart
|
| @@ -38,18 +38,21 @@ makeA() native;
|
| makeB() native;
|
| makeC() native;
|
|
|
| -void setup() native """
|
| -function A() {}
|
| -function B() {}
|
| -function C() {}
|
| -makeA = function(){return new A;};
|
| -makeB = function(){return new B;};
|
| -makeC = function(){return new C;};
|
| -
|
| -self.nativeConstructor(A);
|
| -self.nativeConstructor(B);
|
| -self.nativeConstructor(C);
|
| -""";
|
| +void setup() {
|
| + JS('', r"""
|
| +(function(){
|
| + function A() {}
|
| + function B() {}
|
| + function C() {}
|
| + makeA = function(){return new A()};
|
| + makeB = function(){return new B()};
|
| + makeC = function(){return new C()};
|
| +
|
| + self.nativeConstructor(A);
|
| + self.nativeConstructor(B);
|
| + self.nativeConstructor(C);
|
| +})()""");
|
| +}
|
|
|
| var g;
|
|
|
|
|