Index: tests/compiler/dart2js_native/native_mixin_field_test.dart |
diff --git a/tests/compiler/dart2js_native/native_mixin_field_test.dart b/tests/compiler/dart2js_native/native_mixin_field_test.dart |
index 322381ff42bfd142179bcea16d13bd7a815c662d..8ccda280ee4c38f69ce131e86bd398a7a2b96bc0 100644 |
--- a/tests/compiler/dart2js_native/native_mixin_field_test.dart |
+++ b/tests/compiler/dart2js_native/native_mixin_field_test.dart |
@@ -16,7 +16,7 @@ class B extends A with M1, M2 native "B" { |
} |
class M1 { |
- var baz; |
+ var baz; // This field is not a native field, even when mixed in. |
} |
class M2 { |
@@ -45,7 +45,8 @@ main() { |
B b = makeB(); |
Expect.equals("A-foo", b.foo); |
Expect.equals("B-bar", b.bar); |
- Expect.equals("M1-baz", b.baz); |
+ // Expect.equals("M1-baz", b.baz); // not true, see M1. |
+ Expect.isNull(b.baz); // native b.baz is not the same as dart b.baz. |
Expect.isNull(b.buz); |
M1 m1 = new M1(); |