Index: tests/compiler/dart2js_extra/deferred_inheritance_test.dart |
diff --git a/tests/compiler/dart2js_extra/deferred_inheritance_test.dart b/tests/compiler/dart2js_extra/deferred_inheritance_test.dart |
index bbc51555ad70387d8d9192785caf55e65ed06320..ff7005ca0adfa6ed02e133912559b7d5e895b198 100644 |
--- a/tests/compiler/dart2js_extra/deferred_inheritance_test.dart |
+++ b/tests/compiler/dart2js_extra/deferred_inheritance_test.dart |
@@ -18,13 +18,14 @@ class B extends A {} |
/// If the check `y is A` is generated as `y.$isA` then the issue is not |
/// exposed. We use `AssumeDynamic` to ensure that we generate as `y instanceof |
/// A` in JS. |
-@NoInline() @AssumeDynamic() |
+@NoInline() |
+@AssumeDynamic() |
check(y) => Expect.isTrue(y is A); |
main() { |
check(new B()); |
d.loadLibrary().then((_) { |
- check(new d.C()); |
- check(new B()); // This fails if we overwrite the inheritance chain. |
+ check(new d.C()); |
+ check(new B()); // This fails if we overwrite the inheritance chain. |
}); |
} |