| Index: tests/language_strong/assign_instance_method_negative_test.dart
|
| diff --git a/tests/language_strong/assign_instance_method_negative_test.dart b/tests/language_strong/assign_instance_method_negative_test.dart
|
| index 46505ae6925adc05c032cc31992121f68824cfd9..0e17f16aa7dccb8405498341fa6dc6c586f8ad3c 100644
|
| --- a/tests/language_strong/assign_instance_method_negative_test.dart
|
| +++ b/tests/language_strong/assign_instance_method_negative_test.dart
|
| @@ -4,11 +4,15 @@
|
|
|
| class A {
|
| A() {}
|
| - imethod() { return 0; }
|
| + imethod() {
|
| + return 0;
|
| + }
|
| }
|
|
|
| main() {
|
| var a = new A();
|
| // Illegal, can't change a member method
|
| - a.imethod = () { return 1; };
|
| + a.imethod = () {
|
| + return 1;
|
| + };
|
| }
|
|
|