| Index: tests/compiler/dart2js_native/subclassing_5_test.dart
|
| diff --git a/tests/compiler/dart2js_native/subclassing_5_test.dart b/tests/compiler/dart2js_native/subclassing_5_test.dart
|
| index dfe2b0eb7983cc008ccc4fcba77682be5dca5087..220563b93f7d0a165977cc8bd45710ea3056edff 100644
|
| --- a/tests/compiler/dart2js_native/subclassing_5_test.dart
|
| +++ b/tests/compiler/dart2js_native/subclassing_5_test.dart
|
| @@ -39,11 +39,14 @@ makeB() native;
|
| @Creates('=Object')
|
| getBPrototype() native;
|
|
|
| -void setup() native r"""
|
| -function B() {}
|
| -makeB = function(){return new B;};
|
| -getBPrototype = function(){return B.prototype;};
|
| -""";
|
| +void setup() {
|
| + JS('', r"""
|
| +(function(){
|
| + function B() {}
|
| + makeB = function(){return new B()};
|
| + getBPrototype = function(){return B.prototype;};
|
| +})()""");
|
| +}
|
|
|
| bool isCheckedMode() {
|
| var isChecked = false;
|
|
|