| Index: tests/language/src/CallThroughGetterTest.dart
|
| diff --git a/tests/language/src/CallThroughGetterTest.dart b/tests/language/src/CallThroughGetterTest.dart
|
| index ef22f8d5e611d3ac6b63022447970d0330cbbcab..93d9cc4c7f4ad7b65683c175b8c61caea169ada2 100644
|
| --- a/tests/language/src/CallThroughGetterTest.dart
|
| +++ b/tests/language/src/CallThroughGetterTest.dart
|
| @@ -28,8 +28,12 @@ class CallThroughGetterTest {
|
| Expect.equals(1, TOP_LEVEL_CONST_REF);
|
| Expect.equals(2, topLevel());
|
|
|
| - expectThrowsNotClosure(() { TOP_LEVEL_CONST(); });
|
| - expectThrowsNotClosure(() { (TOP_LEVEL_CONST)(); });
|
| + expectThrowsNotClosure(() {
|
| + TOP_LEVEL_CONST(); /// static type error
|
| + });
|
| + expectThrowsNotClosure(() {
|
| + (TOP_LEVEL_CONST)(); /// static type error
|
| + });
|
| }
|
|
|
| static void testField() {
|
|
|