| Index: tests/compiler/dart2js_native/native_class_fields_test.dart
|
| diff --git a/tests/compiler/dart2js_native/native_field_name_test.dart b/tests/compiler/dart2js_native/native_class_fields_test.dart
|
| similarity index 83%
|
| copy from tests/compiler/dart2js_native/native_field_name_test.dart
|
| copy to tests/compiler/dart2js_native/native_class_fields_test.dart
|
| index d479d82522347153fbd5a10eedf45dc4245de1ff..8221eec9a0f3706201d7b88d6b80da74077e2927 100644
|
| --- a/tests/compiler/dart2js_native/native_field_name_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_class_fields_test.dart
|
| @@ -2,8 +2,7 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// Check that native fields are not incorrectly renamed.
|
| -
|
| +// Verify that native fields on classes are not renamed by the minifier.
|
| class A native "*A" {
|
| int myLongPropertyName;
|
| int getValue;
|
| @@ -12,9 +11,6 @@ class A native "*A" {
|
| }
|
|
|
|
|
| -// This code is inside the setup function, so the function names are not
|
| -// accessible, but the makeA variable is global through the magic of JS scoping.
|
| -// The contents of this are of course not analyzable by the compiler.
|
| void setup() native r"""
|
| function getter() {
|
| return ++this.getValue;
|
|
|