| 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 b1117dbd1c3eb4cd28e994db11bc082d294dc08b..7985893881850b4ae58ac14b313d70af1a451556 100644
|
| --- a/tests/compiler/dart2js_native/subclassing_5_test.dart
|
| +++ b/tests/compiler/dart2js_native/subclassing_5_test.dart
|
| @@ -19,8 +19,7 @@ class N {}
|
|
|
| class A extends N {}
|
|
|
| -class B extends A with M {
|
| -}
|
| +class B extends A with M {}
|
|
|
| class Checks<T> {
|
| bool isCheck(x) => x is T;
|
| @@ -28,17 +27,17 @@ class Checks<T> {
|
| T z = x;
|
| Expect.identical(x, z);
|
| }
|
| +
|
| void castCheck(x) {
|
| var z = x as T;
|
| Expect.identical(x, z);
|
| }
|
| }
|
|
|
| -
|
| -makeB() native;
|
| +makeB() native ;
|
|
|
| @Creates('=Object')
|
| -getBPrototype() native;
|
| +getBPrototype() native ;
|
|
|
| void setup() native r"""
|
| function B() {}
|
| @@ -46,14 +45,12 @@ makeB = function(){return new B;};
|
| getBPrototype = function(){return B.prototype;};
|
| """;
|
|
|
| -
|
| bool isCheckedMode() {
|
| var isChecked = false;
|
| assert(isChecked = true);
|
| return isChecked;
|
| }
|
|
|
| -
|
| testIsI(x) {
|
| Expect.isTrue(x is I);
|
| }
|
| @@ -74,7 +71,6 @@ testIsB(x) {
|
| Expect.isTrue(x is B);
|
| }
|
|
|
| -
|
| testAssignI(x) {
|
| I z = x;
|
| Expect.identical(x, z);
|
| @@ -100,7 +96,6 @@ testAssignB(x) {
|
| Expect.identical(x, z);
|
| }
|
|
|
| -
|
| testCastI(x) {
|
| var z = x as I;
|
| Expect.identical(x, z);
|
| @@ -126,7 +121,6 @@ testCastB(x) {
|
| Expect.identical(x, z);
|
| }
|
|
|
| -
|
| var inscrutable;
|
|
|
| main() {
|
|
|