| Index: tests/language/field_method4_negative_test.dart
|
| diff --git a/tests/language/field_method4_negative_test.dart b/tests/language/field_method4_negative_test.dart
|
| index 44a3ab1c565a58d64949520d8984aca21d5a106a..94755db6edcec9c4af823b912b6e829c2e62d59b 100644
|
| --- a/tests/language/field_method4_negative_test.dart
|
| +++ b/tests/language/field_method4_negative_test.dart
|
| @@ -6,10 +6,10 @@
|
| class A {
|
| var foo;
|
| A() {
|
| - foo = () { };
|
| + foo = () {};
|
| }
|
| void bar(var a) {
|
| - a.foo(); // Tries to invoke the non-existing method 'foo'.
|
| + a.foo(); // Tries to invoke the non-existing method 'foo'.
|
| /*
|
| 'a.foo()' is a "Regular instance-method invocation". The guide says:
|
| "If no method is found, the result of the invocation expression is
|
| @@ -28,7 +28,6 @@ class FieldMethod4NegativeTest {
|
| }
|
| }
|
|
|
| -
|
| main() {
|
| FieldMethod4NegativeTest.testMain();
|
| }
|
|
|