| Index: tests/language/call_test.dart
|
| diff --git a/tests/language/final_for_in_variable_test.dart b/tests/language/call_test.dart
|
| similarity index 70%
|
| copy from tests/language/final_for_in_variable_test.dart
|
| copy to tests/language/call_test.dart
|
| index abbabb01e7224d6f4da6a91cf2465e35df30a553..6e87507f7b0d4a4787acc1ec71a9a6dd98ccfadd 100644
|
| --- a/tests/language/final_for_in_variable_test.dart
|
| +++ b/tests/language/call_test.dart
|
| @@ -3,7 +3,9 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| main() {
|
| - for (final i in [1, 2, 3]) {
|
| - i = 4; /// 01: compile-time error
|
| + bar(a) {
|
| + return a is String;
|
| }
|
| + Expect.isFalse(bar(1));
|
| + Expect.isTrue(bar.call('foo'));
|
| }
|
|
|